[GRASS-SVN] r31694 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jun 12 18:08:17 EDT 2008
Author: martinl
Date: 2008-06-12 18:08:17 -0400 (Thu, 12 Jun 2008)
New Revision: 31694
Modified:
grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI/menuform: set min height for dialog to 400px (merge devbr6, r31693)
Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py 2008-06-12 22:07:17 UTC (rev 31693)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py 2008-06-12 22:08:17 UTC (rev 31694)
@@ -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