[GRASS-SVN] r64030 - grass/trunk/gui/wxpython/mapwin

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jan 9 07:08:50 PST 2015


Author: annakrat
Date: 2015-01-09 07:08:50 -0800 (Fri, 09 Jan 2015)
New Revision: 64030

Modified:
   grass/trunk/gui/wxpython/mapwin/decorations.py
Log:
wxGUI: fix sizer issue in wxPython 3, #2542

Modified: grass/trunk/gui/wxpython/mapwin/decorations.py
===================================================================
--- grass/trunk/gui/wxpython/mapwin/decorations.py	2015-01-09 14:02:28 UTC (rev 64029)
+++ grass/trunk/gui/wxpython/mapwin/decorations.py	2015-01-09 15:08:50 UTC (rev 64030)
@@ -320,9 +320,7 @@
 
         self.sizer = wx.BoxSizer(wx.VERTICAL)
         box = wx.GridBagSizer(vgap=5, hgap=5)
-        box.AddGrowableCol(1)
-        box.AddGrowableRow(1)
-        
+
         # show/hide
         self.chkbox = wx.CheckBox(parent=self, id=wx.ID_ANY,
                                   label=_('Show text object'))
@@ -370,6 +368,8 @@
                 flag=wx.ALIGN_RIGHT,
                 pos=(3, 1))
 
+        box.AddGrowableCol(1)
+        box.AddGrowableRow(1)
         self.sizer.Add(item=box, proportion=1,
                        flag=wx.ALL | wx.EXPAND, border=10)
 



More information about the grass-commit mailing list