From f290d1c76ec50aaf94b081332171e26845563107 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 4 Nov 2004 21:54:08 +0000 Subject: [PATCH] Set some minsizes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/Main.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index 2422a64436..8c9b6d4ab1 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -1095,6 +1095,8 @@ class wxPythonDemo(wx.Frame): wx.Frame.__init__(self, parent, -1, title, size = (950, 720), style=wx.DEFAULT_FRAME_STYLE | wx.NO_FULL_REPAINT_ON_RESIZE) + self.SetMinSize((640,480)) + self.loaded = False self.cwd = os.getcwd() self.curOverview = "" @@ -1275,8 +1277,8 @@ class wxPythonDemo(wx.Frame): splitter2.SplitHorizontally(self.nb, self.log, -160) splitter.SplitVertically(self.tree, splitter2, 200) - splitter.SetMinimumPaneSize(20) - splitter2.SetMinimumPaneSize(20) + splitter.SetMinimumPaneSize(120) + splitter2.SetMinimumPaneSize(60) # Make the splitter on the right expand the top window when resized def SplitterOnSize(evt):