[GRASS-SVN] r49851 - grass/branches/develbranch_6/gui/wxpython/modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Dec 21 07:55:07 EST 2011


Author: martinl
Date: 2011-12-21 04:55:07 -0800 (Wed, 21 Dec 2011)
New Revision: 49851

Modified:
   grass/branches/develbranch_6/gui/wxpython/modules/colorrules.py
Log:
wxGUI/colorrules: center preview window


Modified: grass/branches/develbranch_6/gui/wxpython/modules/colorrules.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/modules/colorrules.py	2011-12-21 12:52:00 UTC (rev 49850)
+++ grass/branches/develbranch_6/gui/wxpython/modules/colorrules.py	2011-12-21 12:55:07 UTC (rev 49851)
@@ -486,7 +486,8 @@
         
         # preview window
         self._createPreview(parent = parent)
-        bodySizer.Add(item = self.preview, pos = (row, 2))
+        bodySizer.Add(item = self.preview, pos = (row, 2),
+                      flag = wx.ALIGN_CENTER_VERTICAL | wx.ALIGN_CENTER)
         
         row += 1
         # add ckeck all and clear all



More information about the grass-commit mailing list