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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 6 03:00:10 PST 2015


Author: martinl
Date: 2015-03-06 03:00:10 -0800 (Fri, 06 Mar 2015)
New Revision: 64807

Modified:
   grass/trunk/gui/wxpython/gui_core/widgets.py
Log:
wxGUI: layout cosmetics in ManageSettingsWidget (wxPython 

Modified: grass/trunk/gui/wxpython/gui_core/widgets.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/widgets.py	2015-03-05 15:50:22 UTC (rev 64806)
+++ grass/trunk/gui/wxpython/gui_core/widgets.py	2015-03-06 11:00:10 UTC (rev 64807)
@@ -1107,14 +1107,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