[GRASS-SVN] r49110 - grass/branches/develbranch_6/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Nov 5 10:54:11 EDT 2011
Author: martinl
Date: 2011-11-05 07:54:11 -0700 (Sat, 05 Nov 2011)
New Revision: 49110
Modified:
grass/branches/develbranch_6/gui/wxpython/wxgui.py
Log:
wxGUI: simplify calculation of sash position for command output
Modified: grass/branches/develbranch_6/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/wxgui.py 2011-11-05 13:43:29 UTC (rev 49109)
+++ grass/branches/develbranch_6/gui/wxpython/wxgui.py 2011-11-05 14:54:11 UTC (rev 49110)
@@ -213,11 +213,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