[GRASS-SVN] r64979 - grass/trunk/gui/wxpython/vnet
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Apr 2 15:26:20 PDT 2015
Author: turek
Date: 2015-04-02 15:26:20 -0700 (Thu, 02 Apr 2015)
New Revision: 64979
Modified:
grass/trunk/gui/wxpython/vnet/dialogs.py
Log:
wx.vnet: fix windows layout
Modified: grass/trunk/gui/wxpython/vnet/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/vnet/dialogs.py 2015-04-01 19:16:40 UTC (rev 64978)
+++ grass/trunk/gui/wxpython/vnet/dialogs.py 2015-04-02 22:26:20 UTC (rev 64979)
@@ -187,12 +187,12 @@
sizer.Add(item = self.notebook, proportion = 1,
flag = wx.EXPAND)
- sizer.Add(item = self.stBar, proportion = 0)
+ sizer.Add(item = self.stBar, proportion = 0, flag = wx.EXPAND)
self.mainPanel.SetSizer(sizer)
- sizer.Fit(self)
- self.Layout()
+ sizer.Fit(self)
+ self.Layout()
def _createPointsPage(self):
"""Tab with points list and analysis settings"""
@@ -513,7 +513,10 @@
elif self.notebook.GetSelection() == self.notebook.GetPageIndexByName('parameters'):
self.OnALayerSel(None)
self.OnNLayerSel(None)
+
+ self.Layout()
+
def _updateDbMgrData(self):
"""Updates input/result tables page """
if self.notebook.GetSelection() == self.notebook.GetPageIndexByName('inputDbMgr'):
More information about the grass-commit
mailing list