]> git.saurik.com Git - wxWidgets.git/commitdiff
Set some minsizes
authorRobin Dunn <robin@alldunn.com>
Thu, 4 Nov 2004 21:54:08 +0000 (21:54 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 4 Nov 2004 21:54:08 +0000 (21:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/Main.py

index 2422a64436d3395f6cfa7dff0464bd1f1aab4b40..8c9b6d4ab11594376bfb77cdb23cef9014d4990d 100644 (file)
@@ -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)
 
         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 = ""
         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)
 
         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):
 
         # Make the splitter on the right expand the top window when resized
         def SplitterOnSize(evt):