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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 20 09:52:21 PST 2012


Author: martinl
Date: 2012-11-20 09:52:20 -0800 (Tue, 20 Nov 2012)
New Revision: 53937

Modified:
   grass/trunk/gui/wxpython/gui_core/preferences.py
Log:
wxGUI/settings: don't define fixed size for buttons


Modified: grass/trunk/gui/wxpython/gui_core/preferences.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/preferences.py	2012-11-20 15:40:16 UTC (rev 53936)
+++ grass/trunk/gui/wxpython/gui_core/preferences.py	2012-11-20 17:52:20 UTC (rev 53937)
@@ -434,10 +434,9 @@
                       wx.ALIGN_CENTER_VERTICAL,
                       pos = (row, 0))
         outfontButton = wx.Button(parent = panel, id = wx.ID_ANY,
-                               label = _("Set font"), size = (100, -1))
+                                  label = _("Set font"))
         gridSizer.Add(item = outfontButton,
-                      flag = wx.ALIGN_RIGHT |
-                      wx.ALIGN_CENTER_VERTICAL,
+                      flag = wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL,
                       pos = (row, 1))
 
         #
@@ -628,7 +627,7 @@
                       wx.ALIGN_CENTER_VERTICAL,
                       pos = (row, 0))
         fontButton = wx.Button(parent = panel, id = wx.ID_ANY,
-                               label = _("Set font"), size = (100, -1))
+                               label = _("Set font"))
         gridSizer.Add(item = fontButton,
                       flag = wx.ALIGN_RIGHT |
                       wx.ALIGN_CENTER_VERTICAL,



More information about the grass-commit mailing list