Layout tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
84bc0d49e4
commit
80a774ed35
@ -31,9 +31,9 @@ class ButtonPanel(wx.Panel):
|
||||
box.Add(btn, 0, wx.ALIGN_CENTER|wx.ALL, 10)
|
||||
self.Bind(wx.EVT_BUTTON, self.OnButton, btn)
|
||||
|
||||
self.SetAutoLayout(True)
|
||||
self.SetSizer(box)
|
||||
|
||||
box.Fit(self)
|
||||
|
||||
|
||||
def OnButton(self, evt):
|
||||
modName = buttonDefs[evt.GetId()][0]
|
||||
|
Loading…
Reference in New Issue
Block a user