[GRASS-SVN] r39985 - grass/trunk/gui/wxpython/gui_modules

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


Author: cmbarton
Date: 2009-12-13 01:47:38 -0500 (Sun, 13 Dec 2009)
New Revision: 39985

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

Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py	2009-12-13 06:43:03 UTC (rev 39984)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py	2009-12-13 06:47:38 UTC (rev 39985)
@@ -826,7 +826,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()
@@ -841,6 +841,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