[GRASS-SVN] r37592 - grass/branches/develbranch_6/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 29 16:10:41 EDT 2009


Author: martinl
Date: 2009-05-29 16:10:41 -0400 (Fri, 29 May 2009)
New Revision: 37592

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


Modified: grass/branches/develbranch_6/gui/wxpython/gis_set.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gis_set.py	2009-05-29 20:05:51 UTC (rev 37591)
+++ grass/branches/develbranch_6/gui/wxpython/gis_set.py	2009-05-29 20:10:41 UTC (rev 37592)
@@ -113,9 +113,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"))
@@ -305,14 +306,17 @@
         # buttons
         btns_sizer.Add(item=self.bstart, proportion=0,
                        flag=wx.ALIGN_CENTER_HORIZONTAL |
+                       wx.ALIGN_CENTER_VERTICAL |
                        wx.ALL,
                        border=5)
         btns_sizer.Add(item=self.bexit, proportion=0,
                        flag=wx.ALIGN_CENTER_HORIZONTAL |
+                       wx.ALIGN_CENTER_VERTICAL |
                        wx.ALL,
                        border=5)
         btns_sizer.Add(item=self.bhelp, proportion=0,
                        flag=wx.ALIGN_CENTER_HORIZONTAL |
+                       wx.ALIGN_CENTER_VERTICAL |
                        wx.ALL,
                        border=5)
 



More information about the grass-commit mailing list