[GRASS-SVN] r29475 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Dec 19 06:22:47 EST 2007
Author: martinl
Date: 2007-12-19 06:22:47 -0500 (Wed, 19 Dec 2007)
New Revision: 29475
Modified:
grass/trunk/gui/wxpython/gui_modules/dbm.py
Log:
wxGUI: Cosmetics in layout for Attribute Table Manager
Modified: grass/trunk/gui/wxpython/gui_modules/dbm.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/dbm.py 2007-12-19 04:07:18 UTC (rev 29474)
+++ grass/trunk/gui/wxpython/gui_modules/dbm.py 2007-12-19 11:22:47 UTC (rev 29475)
@@ -537,8 +537,7 @@
sqlAdvanced.Bind(wx.EVT_RADIOBUTTON, self.OnChangeSql)
sqlWhere = wx.TextCtrl(parent=panel, id=wx.ID_ANY, value="",
- style=wx.TE_PROCESS_ENTER,
- size=(200, -1))
+ style=wx.TE_PROCESS_ENTER)
sqlStatement = wx.TextCtrl(parent=panel, id=wx.ID_ANY,
value="SELECT * FROM %s" % \
self.mapDBInfo.layers[layer]['table'],
@@ -560,10 +559,10 @@
sqlSimpleSizer = wx.BoxSizer(wx.HORIZONTAL)
sqlSimpleSizer.Add(item=sqlLabel,
flag=wx.ALIGN_CENTER_VERTICAL)
- sqlSimpleSizer.Add(item=sqlWhere,
- flag=wx.SHAPED | wx.GROW)
+ sqlSimpleSizer.Add(item=sqlWhere, proportion=1,
+ flag=wx.EXPAND | wx.ALIGN_CENTER_VERTICAL)
sqlFlexSizer.Add(item=sqlSimpleSizer,
- flag=wx.ALIGN_CENTER_VERTICAL)
+ flag=wx.ALIGN_CENTER_VERTICAL | wx.EXPAND)
sqlFlexSizer.Add((0,0))
sqlFlexSizer.Add(item=sqlAdvanced,
flag=wx.ALIGN_CENTER_VERTICAL)
More information about the grass-commit
mailing list