[GRASS-SVN] r39983 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 13 01:37:47 EST 2009


Author: cmbarton
Date: 2009-12-13 01:37:46 -0500 (Sun, 13 Dec 2009)
New Revision: 39983

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

Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py	2009-12-13 06:22:20 UTC (rev 39982)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py	2009-12-13 06:37:46 UTC (rev 39983)
@@ -887,7 +887,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()
@@ -902,6 +902,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