[GRASS-SVN] r58070 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Oct 19 20:27:29 PDT 2013
Author: annakrat
Date: 2013-10-19 20:27:29 -0700 (Sat, 19 Oct 2013)
New Revision: 58070
Modified:
grass/trunk/gui/wxpython/gui_core/dialogs.py
Log:
wxGUI/group dialog: fix sizers for wxpython 2.9
Modified: grass/trunk/gui/wxpython/gui_core/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/dialogs.py 2013-10-20 03:16:12 UTC (rev 58069)
+++ grass/trunk/gui/wxpython/gui_core/dialogs.py 2013-10-20 03:27:29 UTC (rev 58070)
@@ -637,8 +637,6 @@
self.gListPanel = wx.Panel(self)
gListSizer = wx.GridBagSizer(vgap=2, hgap=2)
- gListSizer.AddGrowableCol(1)
- gListSizer.AddGrowableRow(1)
gListSizer.Add(item = wx.StaticText(parent = self.gListPanel, label = _("Pattern:")),
flag = wx.ALIGN_CENTER_VERTICAL,
@@ -674,6 +672,8 @@
sizer.Add(item = buttonSizer, flag = wx.LEFT, border = 5)
gListSizer.Add(item=sizer, flag=wx.EXPAND, pos=(1,1))
+ gListSizer.AddGrowableCol(1)
+ gListSizer.AddGrowableRow(1)
self.gListPanel.SetSizer(gListSizer)
bodySizer.Add(item=self.gListPanel, proportion=1, flag=wx.EXPAND)
@@ -682,8 +682,6 @@
self.subgListPanel = wx.Panel(self)
subgListSizer = wx.GridBagSizer(vgap=2, hgap=2)
- subgListSizer.AddGrowableCol(1)
- subgListSizer.AddGrowableRow(1)
subgListSizer.Add(item = wx.StaticText(parent = self.subgListPanel, label = _("Pattern:")),
flag = wx.ALIGN_CENTER_VERTICAL,
@@ -707,6 +705,8 @@
self.subgListBox.SetToolTipString(_("Check maps from group to be included into subgroup."))
subgListSizer.Add(item=self.subgListBox, flag=wx.EXPAND, pos=(1,1))
+ subgListSizer.AddGrowableCol(1)
+ subgListSizer.AddGrowableRow(1)
self.subgListPanel.SetSizer(subgListSizer)
bodySizer.Add(item=self.subgListPanel, proportion=1, flag=wx.EXPAND)
More information about the grass-commit
mailing list