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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 30 06:49:16 EST 2007


Author: neteler
Date: 2007-12-30 06:49:15 -0500 (Sun, 30 Dec 2007)
New Revision: 29539

Modified:
   grass/trunk/gui/wxpython/gis_set.py
Log:
Fonts polished; sort issue

Modified: grass/trunk/gui/wxpython/gis_set.py
===================================================================
--- grass/trunk/gui/wxpython/gis_set.py	2007-12-30 11:48:58 UTC (rev 29538)
+++ grass/trunk/gui/wxpython/gis_set.py	2007-12-30 11:49:15 UTC (rev 29539)
@@ -80,6 +80,8 @@
                                       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, id=wx.ID_ANY,
                                     label=_("Select an existing project location and mapset\n"
                                             "or define a new location"),
@@ -104,7 +106,7 @@
 
         # buttons
         self.bstart = wx.Button(parent=self, id=wx.ID_ANY,
-                                label=_("Start GRASS"), size=(200, -1))
+                                label=_("Start GRASS"), size=(180, -1))
         self.bstart.SetDefault()
         self.bexit = wx.Button(parent=self, id=wx.ID_EXIT)
         self.bhelp = wx.Button(parent=self, id=wx.ID_HELP)
@@ -122,13 +124,15 @@
         self.tgisdbase = wx.TextCtrl(parent=self, id=wx.ID_ANY, value="", size=(300, -1),
                                      style=wx.TE_LEFT)
 
+        # TODO: sort list, but keep mapsets aligned to sorted locations
         # Locations
         self.lpanel = wx.Panel(parent=self,id=wx.ID_ANY)
         self.lblocations = wx.ListBox(parent=self.lpanel,
-                                      id=wx.ID_ANY, size=(150, 200),
+                                      id=wx.ID_ANY, size=(180, 200),
                                       choices=self.listOfLocations,
                                       style=wx.LB_SINGLE)
 
+        # TODO: sort; but keep PERMANENT on top of list
         # Mapsets
         self.mpanel = wx.Panel(parent=self,id=wx.ID_ANY)
         self.lbmapsets = wx.ListBox(parent=self.mpanel,



More information about the grass-commit mailing list