[GRASS-SVN] r59499 - grass/branches/releasebranch_7_0/gui/wxpython/gmodeler

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 28 13:26:18 PDT 2014


Author: annakrat
Date: 2014-03-28 13:26:18 -0700 (Fri, 28 Mar 2014)
New Revision: 59499

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/dialogs.py
Log:
wxGUI/modeler: fix dialog for wxPython 3 (merged from trunk, r59498)

Modified: grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/dialogs.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/dialogs.py	2014-03-28 20:22:23 UTC (rev 59498)
+++ grass/branches/releasebranch_7_0/gui/wxpython/gmodeler/dialogs.py	2014-03-28 20:26:18 UTC (rev 59499)
@@ -194,7 +194,6 @@
                      flag = wx.EXPAND)
         labelSizer = wx.StaticBoxSizer(self.labelBox, wx.VERTICAL)
         gridSizer = wx.GridBagSizer (hgap = 5, vgap = 5)
-        gridSizer.AddGrowableCol(1)
         gridSizer.Add(item = wx.StaticText(parent = self.panel, id = wx.ID_ANY,
                                            label = _("Label:")),
                       flag = wx.ALIGN_CENTER_VERTICAL, pos = (0, 0))
@@ -203,6 +202,7 @@
                                            label = _("Comment:")),
                       flag = wx.ALIGN_CENTER_VERTICAL, pos = (1, 0))
         gridSizer.Add(item = self.comment, pos = (1, 1), flag =  wx.EXPAND)
+        gridSizer.AddGrowableCol(1)
         labelSizer.Add(item = gridSizer, proportion = 1, flag = wx.EXPAND)
         
         btnSizer = wx.StdDialogButtonSizer()



More information about the grass-commit mailing list