[GRASS-SVN] r37591 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri May 29 16:05:51 EDT 2009
Author: martinl
Date: 2009-05-29 16:05:51 -0400 (Fri, 29 May 2009)
New Revision: 37591
Modified:
grass/trunk/gui/wxpython/gis_set.py
Log:
welcome screen: buttons cosmetics
Modified: grass/trunk/gui/wxpython/gis_set.py
===================================================================
--- grass/trunk/gui/wxpython/gis_set.py 2009-05-29 19:53:35 UTC (rev 37590)
+++ grass/trunk/gui/wxpython/gis_set.py 2009-05-29 20:05:51 UTC (rev 37591)
@@ -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