[GRASS-SVN] r54926 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 5 05:44:56 PST 2013


Author: annakrat
Date: 2013-02-05 05:44:55 -0800 (Tue, 05 Feb 2013)
New Revision: 54926

Modified:
   grass/trunk/gui/wxpython/gui_core/dialogs.py
Log:
wxGUI: fix sizers (for wxpython 2.9 on Mac)

Modified: grass/trunk/gui/wxpython/gui_core/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/dialogs.py	2013-02-05 13:22:49 UTC (rev 54925)
+++ grass/trunk/gui/wxpython/gui_core/dialogs.py	2013-02-05 13:44:55 UTC (rev 54926)
@@ -1238,8 +1238,6 @@
 
     def _createDialogBody(self):
         bodySizer = wx.GridBagSizer(vgap = 3, hgap = 3)
-        bodySizer.AddGrowableCol(1)
-        bodySizer.AddGrowableRow(3)
         
         # layer type
         bodySizer.Add(item = wx.StaticText(parent = self, label = _("Map type:")),
@@ -1302,6 +1300,8 @@
                       flag = wx.EXPAND,
                       pos = (3,1), span = (1, 2))
         
+        bodySizer.AddGrowableCol(1)
+        bodySizer.AddGrowableRow(3)
         # bindings
         self.mapset.Bind(wx.EVT_COMBOBOX, self.OnChangeParams)
         self.layers.Bind(wx.EVT_RIGHT_DOWN, self.OnMenu)



More information about the grass-commit mailing list