[GRASS-SVN] r64605 - grass/branches/releasebranch_7_0/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Feb 13 06:05:52 PST 2015
Author: martinl
Date: 2015-02-13 06:05:52 -0800 (Fri, 13 Feb 2015)
New Revision: 64605
Modified:
grass/branches/releasebranch_7_0/gui/wxpython/gis_set.py
Log:
wxGUI startup: layout cosmetics (dicrease border value)
(merge r64568 from trunk)
Modified: grass/branches/releasebranch_7_0/gui/wxpython/gis_set.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/gis_set.py 2015-02-13 13:37:51 UTC (rev 64604)
+++ grass/branches/releasebranch_7_0/gui/wxpython/gis_set.py 2015-02-13 14:05:52 UTC (rev 64605)
@@ -316,22 +316,22 @@
# gis data directory
gisdbase_boxsizer.Add(item=self.gisdbase_panel, proportion=1,
- flag=wx.EXPAND | wx.ALL,
- border=3)
+ flag=wx.EXPAND | wx.ALL,
+ border=1)
gisdbase_panel_sizer.Add(item=dbase_sizer, proportion=1,
- flag=wx.EXPAND | wx.ALL,
- border=3)
+ flag=wx.EXPAND | wx.ALL,
+ border=1)
gisdbase_panel_sizer.Add(item=self.ldbase, proportion=0,
- flag=wx.EXPAND | wx.ALL,
- border=3)
+ flag=wx.EXPAND | wx.ALL,
+ border=1)
dbase_sizer.Add(item = self.tgisdbase, proportion = 1,
flag = wx.ALIGN_CENTER_VERTICAL | wx.ALL,
- border = 3)
+ border = 1)
dbase_sizer.Add(item = self.bbrowse, proportion = 0,
flag = wx.ALIGN_CENTER_VERTICAL | wx.ALL,
- border = 3)
+ border = 1)
gisdbase_panel_sizer.Fit(self.gisdbase_panel)
@@ -348,23 +348,23 @@
main_sizer.Add(item=list_box, proportion=1,
flag=wx.EXPAND | wx.ALL,
- border=3)
+ border=1)
main_sizer.Add(item=buttons_sizer, proportion=0,
flag=wx.ALIGN_CENTER_HORIZONTAL | wx.ALL,
- border=3)
+ border=1)
for button in buttons:
buttons_sizer.Add(item=button, proportion=0,
- flag=wx.EXPAND | wx.ALL,
+ flag=wx.EXPAND | wx.LEFT | wx.RIGHT | wx.BOTTOM,
border=3)
box_sizer.Add(item=panel, proportion=1,
flag=wx.EXPAND | wx.ALL,
- border=3)
+ border=1)
panel_sizer.Add(item=main_sizer, proportion=1,
flag=wx.EXPAND | wx.ALL,
- border=3)
+ border=1)
panel_sizer.Add(item=description, proportion=0,
flag=wx.EXPAND | wx.ALL,
- border=3)
+ border=1)
return box_sizer
location_boxsizer = layout_list_box(
@@ -417,7 +417,7 @@
sizer.Add(item=gisdbase_boxsizer, proportion=0,
flag = wx.ALIGN_CENTER_HORIZONTAL |
wx.RIGHT | wx.LEFT | wx.TOP | wx.EXPAND,
- border=3) # GISDBASE setting
+ border = 3) # GISDBASE setting
# warning/error message
sizer.Add(item=self.lmessage,
@@ -431,7 +431,7 @@
flag = wx.ALIGN_CENTER_VERTICAL |
wx.ALIGN_CENTER_HORIZONTAL |
wx.RIGHT | wx.LEFT,
- border = 1)
+ border = 3)
self.panel.SetAutoLayout(True)
self.panel.SetSizer(sizer)
More information about the grass-commit
mailing list