[GRASS-SVN] r39984 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 13 01:43:04 EST 2009


Author: cmbarton
Date: 2009-12-13 01:43:03 -0500 (Sun, 13 Dec 2009)
New Revision: 39984

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
Log:
Module dialogs now size correctly on opening.

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2009-12-13 06:37:46 UTC (rev 39983)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2009-12-13 06:43:03 UTC (rev 39984)
@@ -780,7 +780,7 @@
         guisizer.SetSizeHints(self.panel)
         # called automatically by SetSizer()
         self.panel.SetAutoLayout(True) 
-        self.panel.SetSizer(guisizer)
+#        self.panel.SetSizer(guisizer)
         guisizer.Fit(self.panel)
 
         sizeFrame = self.GetBestSize()
@@ -795,6 +795,7 @@
         self.resultQ = Queue.Queue()
         self.updateThread = UpdateQThread(self.notebookpanel, self.requestQ, self.resultQ)
 
+        self.SetSizer(guisizer)
         self.Layout()
 
     def updateValuesHook(self):



More information about the grass-commit mailing list