[GRASS-SVN] r59498 - grass/trunk/gui/wxpython/gmodeler

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 28 13:22:24 PDT 2014


Author: annakrat
Date: 2014-03-28 13:22:23 -0700 (Fri, 28 Mar 2014)
New Revision: 59498

Modified:
   grass/trunk/gui/wxpython/gmodeler/dialogs.py
Log:
wxGUI/modeler: fix dialog for wxPython 3

Modified: grass/trunk/gui/wxpython/gmodeler/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/gmodeler/dialogs.py	2014-03-28 19:58:36 UTC (rev 59497)
+++ grass/trunk/gui/wxpython/gmodeler/dialogs.py	2014-03-28 20:22:23 UTC (rev 59498)
@@ -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