[GRASS-SVN] r42233 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 12 04:26:55 EDT 2010
Author: martinl
Date: 2010-05-12 04:26:55 -0400 (Wed, 12 May 2010)
New Revision: 42233
Modified:
grass/trunk/gui/wxpython/gui_modules/ghelp.py
Log:
wxGUI: cosmetics in module search tab
Modified: grass/trunk/gui/wxpython/gui_modules/ghelp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/ghelp.py 2010-05-12 08:22:26 UTC (rev 42232)
+++ grass/trunk/gui/wxpython/gui_modules/ghelp.py 2010-05-12 08:26:55 UTC (rev 42233)
@@ -219,7 +219,7 @@
self.search = SearchModuleWindow(parent = self, showChoice = False)
# buttons
- self.btnRun = wx.Button(self, id = wx.ID_OK, label = _("Run"))
+ self.btnRun = wx.Button(self, id = wx.ID_OK, label = _("&Run"))
self.btnRun.SetToolTipString(_("Run selected command"))
self.btnRun.Enable(False)
@@ -245,8 +245,7 @@
# buttons
btnSizer = wx.BoxSizer(wx.HORIZONTAL)
- btnSizer.Add(item = self.btnRun, proportion = 0,
- flag = wx.LEFT | wx.RIGHT, border = 5)
+ btnSizer.Add(item = self.btnRun, proportion = 0)
sizer.Add(item = dataSizer, proportion = 1,
flag = wx.EXPAND | wx.ALL, border = 5)
@@ -255,7 +254,7 @@
flag = wx.EXPAND | wx.LEFT | wx.RIGHT | wx.BOTTOM, border = 5)
sizer.Add(item = btnSizer, proportion=0,
- flag = wx.ALIGN_RIGHT | wx.ALL, border = 5)
+ flag = wx.ALIGN_RIGHT | wx.BOTTOM | wx.RIGHT, border = 5)
sizer.Fit(self)
sizer.SetSizeHints(self)
More information about the grass-commit
mailing list