[GRASS-SVN] r50677 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Feb 5 18:37:14 EST 2012
Author: martinl
Date: 2012-02-05 15:37:14 -0800 (Sun, 05 Feb 2012)
New Revision: 50677
Modified:
grass/trunk/gui/wxpython/gui_core/ghelp.py
Log:
wxGUI/about: set minimum window size
Modified: grass/trunk/gui/wxpython/gui_core/ghelp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/ghelp.py 2012-02-05 21:11:58 UTC (rev 50676)
+++ grass/trunk/gui/wxpython/gui_core/ghelp.py 2012-02-05 23:37:14 UTC (rev 50677)
@@ -504,8 +504,10 @@
sizer.Add(item = btnSizer, proportion = 0,
flag = wx.ALL | wx.ALIGN_RIGHT, border = 1)
panel.SetSizer(sizer)
+
self.Layout()
-
+ self.SetMinSize((500, 400))
+
def _pageCopyright(self):
"""Copyright information"""
copyfile = os.path.join(os.getenv("GISBASE"), "COPYING")
More information about the grass-commit
mailing list