[GRASS-SVN] r40611 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jan 22 00:24:45 EST 2010


Author: cmbarton
Date: 2010-01-22 00:24:44 -0500 (Fri, 22 Jan 2010)
New Revision: 40611

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
Log:
Command entry window splitter pane sizing better

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py	2010-01-22 04:45:43 UTC (rev 40610)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py	2010-01-22 05:24:44 UTC (rev 40611)
@@ -283,8 +283,11 @@
         if self.parent.GetName() == 'LayerManager':
             self.SplitHorizontally(self.panelOutput, self.panelPrompt, -75)
         else:
-            self.SplitHorizontally(self.panelOutput, self.panelPrompt, -10)
-        self.SetMinimumPaneSize(self.btn_cmd_clear.GetSize()[1] + 10)
+            self.SplitHorizontally(self.panelOutput, self.panelPrompt, -45)
+
+        self.SetSashGravity(1.0)
+        self.SetMinimumPaneSize(self.btn_cmd_clear.GetSize()[1] + 75)
+
         self.Fit()
         
         # layout



More information about the grass-commit mailing list