Browse Source

wxGUI/preferences: layout cosmetics

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52399 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 năm trước cách đây
mục cha
commit
bff70ea735
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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),