[GRASS-SVN] r49065 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Nov 3 04:19:00 EDT 2011


Author: martinl
Date: 2011-11-03 01:19:00 -0700 (Thu, 03 Nov 2011)
New Revision: 49065

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/layertree.py
Log:
wxGUI: adjust layer item window align workaround


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/layertree.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/layertree.py	2011-11-03 08:00:30 UTC (rev 49064)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/layertree.py	2011-11-03 08:19:00 UTC (rev 49065)
@@ -131,7 +131,7 @@
         self.root = self.AddRoot(_("Map Layers"))
         self.SetPyData(self.root, (None, None))
         
-        #create image list to use with layer tree
+        # create image list to use with layer tree
         il = wx.ImageList(16, 16, mask = False)
         
         trart = wx.ArtProvider.GetBitmap(wx.ART_FOLDER_OPEN, wx.ART_OTHER, (16, 16))
@@ -745,7 +745,7 @@
         self.CheckItem(layer, checked = checked)
         
         # add text and icons for each layer ltype
-        label =  _('(double click to set properties)') + ' ' * 35
+        label =  _('(double click to set properties)') + ' ' * 15
         if ltype == 'raster':
             self.SetItemImage(layer, self.rast_icon)
             self.SetItemText(layer, '%s %s' % (_('raster'), label))



More information about the grass-commit mailing list