浏览代码

wxGUI/preferences: layout cosmetics

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52399 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 年之前
父节点
当前提交
bff70ea735
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      gui/wxpython/gui_core/preferences.py

+ 2 - 2
gui/wxpython/gui_core/preferences.py

@@ -15,7 +15,7 @@ Classes:
  - preferences::MapsetAccess
  - preferences::CheckListMapset
 
-(C) 2007-2011 by the GRASS Development Team
+(C) 2007-2012 by the GRASS Development Team
 
 This program is free software under the GNU General Public License
 (>=v2). Read the file COPYING that comes with GRASS for details.
@@ -880,7 +880,7 @@ class PreferencesDialog(PreferencesBaseDialog):
         self.winId['rasterLayer:colorTable:enabled'] = rasterCTCheck.GetId()
         rasterCTCheck.Bind(wx.EVT_CHECKBOX, self.OnCheckColorTable)
         
-        gridSizer.Add(item = rasterCTCheck,
+        gridSizer.Add(item = rasterCTCheck, flag = wx.ALIGN_CENTER_VERTICAL,
                       pos = (row, 0))
         
         rasterCTName = wx.Choice(parent = panel, id = wx.ID_ANY, size = (200, -1),