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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Feb 27 11:10:05 EST 2009


Author: martinl
Date: 2009-02-27 11:10:05 -0500 (Fri, 27 Feb 2009)
New Revision: 36127

Modified:
   grass/trunk/gui/wxpython/gis_set.py
Log:
wxGUI: remove MINSIZE flag


Modified: grass/trunk/gui/wxpython/gis_set.py
===================================================================
--- grass/trunk/gui/wxpython/gis_set.py	2009-02-27 15:54:46 UTC (rev 36126)
+++ grass/trunk/gui/wxpython/gis_set.py	2009-02-27 16:10:05 UTC (rev 36127)
@@ -88,8 +88,6 @@
                                       label=_("Welcome to GRASS GIS %s\n"
                                               "The world's leading open source GIS") % grassVersion,
                                       style=wx.ALIGN_CENTRE)
-        #self.SetFont(wx.Font(pointSize=9, family=wx.FONTFAMILY_DEFAULT,
-        #                     style=wx.NORMAL, weight=wx.NORMAL))
         self.ltitle = wx.StaticText(parent=self.panel, id=wx.ID_ANY,
                                     label=_("Select an existing project location and mapset\n"
                                             "or define a new location"),
@@ -317,36 +315,30 @@
 
         # main sizer
         sizer.Add(item=self.hbitmap, proportion=0,
-                  flag=wx.ADJUST_MINSIZE |
-                  wx.ALIGN_CENTER_VERTICAL |
+                  flag=wx.ALIGN_CENTER_VERTICAL |
                   wx.ALIGN_CENTER_HORIZONTAL |
                   wx.ALL,
                   border=5) # image
         sizer.Add(item=self.lwelcome, # welcome message
                   proportion=0,
-                  flag= wx.ADJUST_MINSIZE |
-                  wx.ALIGN_CENTER_VERTICAL |
+                  flag=wx.ALIGN_CENTER_VERTICAL |
                   wx.ALIGN_CENTER_HORIZONTAL |
                   wx.EXPAND |
                   wx.BOTTOM,
                   border=10)
         sizer.Add(item=self.ltitle, # title
                   proportion=0,
-                  flag=wx.ADJUST_MINSIZE |
-                  wx.ALIGN_CENTER_VERTICAL |
+                  flag=wx.ALIGN_CENTER_VERTICAL |
                   wx.ALIGN_CENTER_HORIZONTAL |
                   wx.EXPAND |
                   wx.BOTTOM,
                   border=5)
         sizer.Add(item=dbase_sizer, proportion=0,
-                  flag=wx.ADJUST_MINSIZE |
-                  wx.ALIGN_CENTER_VERTICAL |
-                  wx.ALIGN_CENTER_HORIZONTAL |
+                  flag=wx.ALIGN_CENTER_HORIZONTAL |
                   wx.RIGHT | wx.LEFT,
                   border=5) # GISDBASE setting
         sizer.Add(item=location_sizer, proportion=1,
-                  flag=wx.ADJUST_MINSIZE |
-                  wx.ALIGN_CENTER_VERTICAL |
+                  flag=wx.ALIGN_CENTER_VERTICAL |
                   wx.ALIGN_CENTER_HORIZONTAL |
                   wx.RIGHT | wx.LEFT,
                   border=5)



More information about the grass-commit mailing list