[GRASS-SVN] r53559 - in grass/branches/develbranch_6/gui/wxpython: core lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Oct 26 03:25:29 PDT 2012


Author: martinl
Date: 2012-10-26 03:25:28 -0700 (Fri, 26 Oct 2012)
New Revision: 53559

Modified:
   grass/branches/develbranch_6/gui/wxpython/core/globalvar.py
   grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py
Log:
wxGUI: enlarge (500->525) Layer Manager Window (buttons in Command Console)
       (merge r53558 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/core/globalvar.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/core/globalvar.py	2012-10-26 10:19:53 UTC (rev 53558)
+++ grass/branches/develbranch_6/gui/wxpython/core/globalvar.py	2012-10-26 10:25:28 UTC (rev 53559)
@@ -102,7 +102,7 @@
 DIALOG_COLOR_SIZE = (30, 30)
 
 MAP_WINDOW_SIZE = (800, 600)
-GM_WINDOW_SIZE = (500, 600)
+GM_WINDOW_SIZE = (525, 600)
 
 if sys.platform == 'win32':
     BIN_EXT = '.exe'

Modified: grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py	2012-10-26 10:19:53 UTC (rev 53558)
+++ grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py	2012-10-26 10:25:28 UTC (rev 53559)
@@ -157,7 +157,7 @@
         self.Bind(wx.EVT_KEY_DOWN, self.OnKeyDown)
 
         # minimal frame size
-        self.SetMinSize((500, 400))
+        self.SetMinSize((globalvar.GM_WINDOW_SIZE[0], 400))
 
         # AUI stuff
         self._auimgr.AddPane(self.notebook, wx.aui.AuiPaneInfo().



More information about the grass-commit mailing list