[GRASS-SVN] r42234 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 12 04:28:12 EDT 2010
Author: martinl
Date: 2010-05-12 04:28:11 -0400 (Wed, 12 May 2010)
New Revision: 42234
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/ghelp.py
Log:
wxGUI: cosmetics in module search tab
(merge r42233 from trunk)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/ghelp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/ghelp.py 2010-05-12 08:26:55 UTC (rev 42233)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/ghelp.py 2010-05-12 08:28:11 UTC (rev 42234)
@@ -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