[GRASS-SVN] r49053 - in grass/branches/develbranch_6/gui/wxpython: . gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 2 15:36:58 EDT 2011


Author: martinl
Date: 2011-11-02 12:36:58 -0700 (Wed, 02 Nov 2011)
New Revision: 49053

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
   grass/branches/develbranch_6/gui/wxpython/wxgui.py
Log:
fix sash position on Windows

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py	2011-11-02 17:07:38 UTC (rev 49052)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py	2011-11-02 19:36:58 UTC (rev 49053)
@@ -325,7 +325,7 @@
             self.SetMinimumPaneSize(self.btnCmdClear.GetSize()[1] + 85)
         else:
             self.SplitHorizontally(self.panelOutput, self.panelPrompt, -45)
-            self.SetMinimumPaneSize(self.btnCmdClear.GetSize()[1] +25)
+            self.SetMinimumPaneSize(self.btnCmdClear.GetSize()[1] + 25)
         
         self.SetSashGravity(1.0)
         

Modified: grass/branches/develbranch_6/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/wxgui.py	2011-11-02 17:07:38 UTC (rev 49052)
+++ grass/branches/develbranch_6/gui/wxpython/wxgui.py	2011-11-02 19:36:58 UTC (rev 49053)
@@ -213,7 +213,7 @@
         self.goutput.Redirect()
         
         # fix goutput's pane size (required for Mac OSX)
-        self.goutput.SetSashPosition(int(self.GetSize()[1] * .60))
+        self.goutput.SetSashPosition(int(self.GetSize()[1] * .54))
         
         self.workspaceChanged = False
         



More information about the grass-commit mailing list