[GRASS-SVN] r36247 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 8 08:05:50 EDT 2009


Author: martinl
Date: 2009-03-08 08:05:50 -0400 (Sun, 08 Mar 2009)
New Revision: 36247

Modified:
   grass/trunk/gui/wxpython/gis_set.py
Log:
wxGUI: center welcome message

Modified: grass/trunk/gui/wxpython/gis_set.py
===================================================================
--- grass/trunk/gui/wxpython/gis_set.py	2009-03-08 11:53:00 UTC (rev 36246)
+++ grass/trunk/gui/wxpython/gis_set.py	2009-03-08 12:05:50 UTC (rev 36247)
@@ -229,7 +229,7 @@
         select_sizer    = wx.FlexGridSizer(rows=2, cols=2, vgap=4, hgap=4)
         manage_boxsizer = wx.StaticBoxSizer(self.manage_box, wx.VERTICAL)
         manage_sizer    = wx.BoxSizer(wx.VERTICAL)
-        btns_sizer    = wx.BoxSizer(wx.HORIZONTAL)
+        btns_sizer      = wx.BoxSizer(wx.HORIZONTAL)
 
         # gis data directory
         dbase_sizer.Add(item=self.ldbase, proportion=0,
@@ -314,7 +314,8 @@
                        border=5)
 
         # main sizer
-        sizer.Add(item=self.hbitmap, proportion=0,
+        sizer.Add(item=self.hbitmap,
+                  proportion=0,
                   flag=wx.ALIGN_CENTER_VERTICAL |
                   wx.ALIGN_CENTER_HORIZONTAL |
                   wx.ALL,
@@ -323,14 +324,12 @@
                   proportion=0,
                   flag=wx.ALIGN_CENTER_VERTICAL |
                   wx.ALIGN_CENTER_HORIZONTAL |
-                  wx.EXPAND |
                   wx.BOTTOM,
                   border=1)
         sizer.Add(item=self.ltitle, # title
                   proportion=0,
                   flag=wx.ALIGN_CENTER_VERTICAL |
-                  wx.ALIGN_CENTER_HORIZONTAL |
-                  wx.EXPAND)
+                  wx.ALIGN_CENTER_HORIZONTAL)
         sizer.Add(item=dbase_sizer, proportion=0,
                   flag=wx.ALIGN_CENTER_HORIZONTAL |
                   wx.RIGHT | wx.LEFT,



More information about the grass-commit mailing list