[GRASS-SVN] r64808 - grass/branches/releasebranch_7_0/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Mar 6 03:11:14 PST 2015
Author: martinl
Date: 2015-03-06 03:11:14 -0800 (Fri, 06 Mar 2015)
New Revision: 64808
Modified:
grass/branches/releasebranch_7_0/gui/wxpython/gui_core/widgets.py
Log:
wxGUI: layout cosmetics in ManageSettingsWidget (wxPython 3)
(merge r64807 from trunk)
Modified: grass/branches/releasebranch_7_0/gui/wxpython/gui_core/widgets.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/gui_core/widgets.py 2015-03-06 11:00:10 UTC (rev 64807)
+++ grass/branches/releasebranch_7_0/gui/wxpython/gui_core/widgets.py 2015-03-06 11:11:14 UTC (rev 64808)
@@ -1051,14 +1051,14 @@
self.settingsSizer = wx.StaticBoxSizer(self.settingsBox, wx.HORIZONTAL)
self.settingsSizer.Add(item=wx.StaticText(parent=self, id=wx.ID_ANY,
label=_("Load settings:")),
- flag=wx.ALIGN_CENTER_VERTICAL | wx.RIGHT,
+ flag=wx.ALIGN_CENTER_VERTICAL | wx.RIGHT | wx.LEFT,
border=5)
self.settingsSizer.Add(item=self.settingsChoice,
- proportion=1, flag=wx.EXPAND)
+ proportion=1, flag=wx.EXPAND | wx.BOTTOM, border=3)
self.settingsSizer.Add(item=self.btnSettingsSave,
- flag=wx.LEFT | wx.RIGHT, border=5)
+ flag=wx.LEFT | wx.RIGHT | wx.BOTTOM, border=3)
self.settingsSizer.Add(item=self.btnSettingsDel,
- flag=wx.RIGHT,border=5)
+ flag=wx.RIGHT | wx.BOTTOM, border=3)
def OnSettingsChanged(self, event):
"""Load named settings"""
More information about the grass-commit
mailing list