[GRASS-SVN] r37593 - grass/branches/releasebranch_6_4/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 29 16:11:53 EDT 2009


Author: martinl
Date: 2009-05-29 16:11:53 -0400 (Fri, 29 May 2009)
New Revision: 37593

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py
Log:
welcome screen: buttons cosmetics
       (merge from trunk, r37591)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py	2009-05-29 20:10:41 UTC (rev 37592)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py	2009-05-29 20:11:53 UTC (rev 37593)
@@ -117,9 +117,10 @@
 
         # buttons
         self.bstart = wx.Button(parent=self.panel, id=wx.ID_ANY,
-                                label=_("Start GRASS"), size=(180, -1))
+                                label=_("Start GRASS"))
         self.bstart.SetDefault()
         self.bexit = wx.Button(parent=self.panel, id=wx.ID_EXIT)
+        self.bstart.SetMinSize((180, self.bexit.GetSize()[1]))
         self.bhelp = wx.Button(parent=self.panel, id=wx.ID_HELP)
         self.bbrowse = wx.Button(parent=self.panel, id=wx.ID_ANY,
                                  label=_("Browse"))
@@ -309,14 +310,17 @@
         # buttons
         btns_sizer.Add(item=self.bstart, proportion=0,
                        flag=wx.ALIGN_CENTER_HORIZONTAL |
+                       wx.ALIGN_CENTER_VERTICAL |
                        wx.ALL,
                        border=10)
         btns_sizer.Add(item=self.bexit, proportion=0,
                        flag=wx.ALIGN_CENTER_HORIZONTAL |
+                       wx.ALIGN_CENTER_VERTICAL |
                        wx.ALL,
                        border=10)
         btns_sizer.Add(item=self.bhelp, proportion=0,
                        flag=wx.ALIGN_CENTER_HORIZONTAL |
+                       wx.ALIGN_CENTER_VERTICAL |
                        wx.ALL,
                        border=10)
 



More information about the grass-commit mailing list