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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jun 12 18:07:17 EDT 2008


Author: martinl
Date: 2008-06-12 18:07:17 -0400 (Thu, 12 Jun 2008)
New Revision: 31693

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI/menuform: set min height for dialog to 400px

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2008-06-12 22:01:35 UTC (rev 31692)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2008-06-12 22:07:17 UTC (rev 31693)
@@ -1199,7 +1199,7 @@
 
         # TODO: be less arbitrary with these 600
         self.panelMinHeight = 100
-        self.constrained_size = (min(600, maxsizes[0]) + 25, min(600, maxsizes[1]) + 25)
+        self.constrained_size = (min(600, maxsizes[0]) + 25, min(400, maxsizes[1]) + 25)
         for section in sections:
             tab[section].SetMinSize( (self.constrained_size[0], self.panelMinHeight) )
             # tab[section].SetMinSize( constrained_size )



More information about the grass-commit mailing list