[GRASS-SVN] r40612 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jan 22 00:27:54 EST 2010


Author: cmbarton
Date: 2010-01-22 00:27:54 -0500 (Fri, 22 Jan 2010)
New Revision: 40612

Modified:
   grass/trunk/gui/wxpython/gui_modules/goutput.py
Log:
Command entry window splitter pane sizing better (backport from develbranch_6)

Modified: grass/trunk/gui/wxpython/gui_modules/goutput.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/goutput.py	2010-01-22 05:24:44 UTC (rev 40611)
+++ grass/trunk/gui/wxpython/gui_modules/goutput.py	2010-01-22 05:27:54 UTC (rev 40612)
@@ -284,8 +284,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