[GRASS-SVN] r54925 - in grass/trunk/gui/wxpython: location_wizard nviz
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Feb 5 05:22:50 PST 2013
Author: annakrat
Date: 2013-02-05 05:22:49 -0800 (Tue, 05 Feb 2013)
New Revision: 54925
Modified:
grass/trunk/gui/wxpython/location_wizard/wizard.py
grass/trunk/gui/wxpython/nviz/tools.py
Log:
wxGUI: fix sizers (for wxpython 2.9 on Mac)
Modified: grass/trunk/gui/wxpython/location_wizard/wizard.py
===================================================================
--- grass/trunk/gui/wxpython/location_wizard/wizard.py 2013-02-05 13:16:10 UTC (rev 54924)
+++ grass/trunk/gui/wxpython/location_wizard/wizard.py 2013-02-05 13:22:49 UTC (rev 54925)
@@ -224,7 +224,6 @@
label = _("Create a generic Cartesian coordinate system (XY)"))
# layout
- self.sizer.AddGrowableCol(1)
self.sizer.SetVGap(10)
self.sizer.Add(item = self.radio1,
flag = wx.ALIGN_LEFT, pos = (1, 1))
@@ -238,6 +237,7 @@
flag = wx.ALIGN_LEFT, pos = (5, 1))
self.sizer.Add(item = self.radio6,
flag = wx.ALIGN_LEFT, pos = (6, 1))
+ self.sizer.AddGrowableCol(1)
# bindings
self.Bind(wx.EVT_RADIOBUTTON, self.SetVal, id = self.radio1.GetId())
Modified: grass/trunk/gui/wxpython/nviz/tools.py
===================================================================
--- grass/trunk/gui/wxpython/nviz/tools.py 2013-02-05 13:16:10 UTC (rev 54924)
+++ grass/trunk/gui/wxpython/nviz/tools.py 2013-02-05 13:22:49 UTC (rev 54925)
@@ -331,7 +331,6 @@
flag = wx.TOP|wx.BOTTOM|wx.RIGHT| wx.ALIGN_RIGHT,
border = 5)
- gridSizer.AddGrowableCol(2)
gridSizer.Add(item = viewSizer, pos = (4, 0), span = (1, 3),
flag = wx.EXPAND)
More information about the grass-commit
mailing list