[GRASS-SVN] r52288 - grass/branches/develbranch_6/gui/wxpython/gmodeler
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jul 3 04:52:42 PDT 2012
Author: martinl
Date: 2012-07-03 04:52:42 -0700 (Tue, 03 Jul 2012)
New Revision: 52288
Modified:
grass/branches/develbranch_6/gui/wxpython/gmodeler/preferences.py
Log:
wxGUI/gmodeler: fix layout of model property dialog (missing wx.EXPAND flag)
(merge r52287 from trunk)
Modified: grass/branches/develbranch_6/gui/wxpython/gmodeler/preferences.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gmodeler/preferences.py 2012-07-03 11:49:53 UTC (rev 52287)
+++ grass/branches/develbranch_6/gui/wxpython/gmodeler/preferences.py 2012-07-03 11:52:42 UTC (rev 52288)
@@ -7,7 +7,7 @@
- preferences::PreferencesDialog
- preferences::PropertiesDialog
-(C) 2010-2011 by the GRASS Development Team
+(C) 2010-2012 by the GRASS Development Team
This program is free software under the GNU General Public License
(>=v2). Read the file COPYING that comes with GRASS for details.
@@ -458,7 +458,7 @@
def _layout(self):
metaSizer = wx.StaticBoxSizer(self.metaBox, wx.VERTICAL)
gridSizer = wx.GridBagSizer(hgap = 3, vgap = 3)
- gridSizer.AddGrowableCol(0)
+ gridSizer.AddGrowableCol(1)
gridSizer.AddGrowableRow(1)
gridSizer.Add(item = wx.StaticText(parent = self, id = wx.ID_ANY,
label = _("Name:")),
@@ -487,7 +487,7 @@
flag = wx.ALIGN_LEFT |
wx.ALIGN_CENTER_VERTICAL | wx.EXPAND,
pos = (2, 1))
- metaSizer.Add(item = gridSizer)
+ metaSizer.Add(item = gridSizer, proportion = 1, flag = wx.EXPAND)
cmdSizer = wx.StaticBoxSizer(self.cmdBox, wx.VERTICAL)
cmdSizer.Add(item = self.overwrite,
More information about the grass-commit
mailing list