[GRASS-SVN] r49111 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Nov 5 10:56:05 EDT 2011
Author: martinl
Date: 2011-11-05 07:56:05 -0700 (Sat, 05 Nov 2011)
New Revision: 49111
Modified:
grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: simplify calculation of sash position for command output
(merge r49110 from devbr6)
Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py 2011-11-05 14:54:11 UTC (rev 49110)
+++ grass/trunk/gui/wxpython/wxgui.py 2011-11-05 14:56:05 UTC (rev 49111)
@@ -218,11 +218,7 @@
self.goutput.Redirect()
# fix goutput's pane size (required for Mac OSX)`
- if sys.platform == 'darwin':
- coef = .80
- else:
- coef = .54
- self.goutput.SetSashPosition(int(self.GetSize()[1] * coef))
+ self.goutput.SetSashPosition(int(self.GetSize()[1] * .8))
self.workspaceChanged = False
More information about the grass-commit
mailing list