X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/78a32590b12dd14507a3c175e346543bef4ad63e..6a6e2822455ac3275dad20d5a0b474e4eb4b2582:/wxPython/demo/EventManager.py diff --git a/wxPython/demo/EventManager.py b/wxPython/demo/EventManager.py index 861fb471a1..7f794289c2 100644 --- a/wxPython/demo/EventManager.py +++ b/wxPython/demo/EventManager.py @@ -72,7 +72,7 @@ class TestPanel(wx.Panel): sizer.Add(message0, 0, wx.ALIGN_CENTER | wx.ALL, 6) sizer.Add(title2, 0, wx.ALIGN_CENTER | wx.LEFT | wx.TOP | wx.RIGHT, 16) sizer.Add(message1, 0, wx.ALIGN_CENTER | wx.ALL, 6) - sizer.Add(buttonPanel, 0, wx.EXPAND | wx.LEFT | wx.BOTTOM | wx.RIGHT, 16) + sizer.Add(buttonPanel, 0, wx.EXPAND | wx.ALL, 16) sizer.Add(title3, 0, wx.ALIGN_CENTER | wx.LEFT | wx.RIGHT, 16) sizer.Add(message2, 0, wx.ALIGN_CENTER | wx.ALL, 6) sizer.Add(targetPanel, 2, wx.EXPAND | wx.LEFT | wx.BOTTOM | wx.RIGHT, 16) @@ -144,6 +144,7 @@ class InnerTile(wx.Window): """ def __init__(self, parent, log, factor, thingToWatch=None, bgColor=None): wx.Window.__init__(self, parent, -1) + self.SetMinSize((20,20)) self.log=log if bgColor: self.SetBackgroundColour(bgColor)