[GRASS-SVN] r49054 - in grass/trunk/gui/wxpython: . gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 2 15:40:25 EDT 2011
Author: martinl
Date: 2011-11-02 12:40:24 -0700 (Wed, 02 Nov 2011)
New Revision: 49054
Modified:
grass/trunk/gui/wxpython/gui_modules/goutput.py
grass/trunk/gui/wxpython/wxgui.py
Log:
fix sash position on Windows
(merge r49053 from devbr6)
Modified: grass/trunk/gui/wxpython/gui_modules/goutput.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/goutput.py 2011-11-02 19:36:58 UTC (rev 49053)
+++ grass/trunk/gui/wxpython/gui_modules/goutput.py 2011-11-02 19:40:24 UTC (rev 49054)
@@ -326,7 +326,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/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py 2011-11-02 19:36:58 UTC (rev 49053)
+++ grass/trunk/gui/wxpython/wxgui.py 2011-11-02 19:40:24 UTC (rev 49054)
@@ -218,7 +218,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