[GRASS-SVN] r53939 - grass/branches/develbranch_6/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 20 10:05:54 PST 2012


Author: martinl
Date: 2012-11-20 10:05:53 -0800 (Tue, 20 Nov 2012)
New Revision: 53939

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_core/preferences.py
Log:
wxGUI/settings: don't define fixed size for buttons
                (merge r53937 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_core/preferences.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_core/preferences.py	2012-11-20 18:04:57 UTC (rev 53938)
+++ grass/branches/develbranch_6/gui/wxpython/gui_core/preferences.py	2012-11-20 18:05:53 UTC (rev 53939)
@@ -429,10 +429,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))
 
         #
@@ -599,7 +598,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