[GRASS-SVN] r50678 - grass/branches/develbranch_6/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 5 18:40:07 EST 2012


Author: martinl
Date: 2012-02-05 15:40:07 -0800 (Sun, 05 Feb 2012)
New Revision: 50678

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_core/ghelp.py
Log:
wxGUI/about: set minimum window size
	     (merge r50677 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_core/ghelp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_core/ghelp.py	2012-02-05 23:37:14 UTC (rev 50677)
+++ grass/branches/develbranch_6/gui/wxpython/gui_core/ghelp.py	2012-02-05 23:40:07 UTC (rev 50678)
@@ -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