[GRASS-SVN] r65363 - grass/branches/releasebranch_7_0/gui/wxpython/vnet

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jun 4 12:59:28 PDT 2015


Author: martinl
Date: 2015-06-04 12:59:28 -0700 (Thu, 04 Jun 2015)
New Revision: 65363

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/vnet/dialogs.py
Log:
wx.vnet: fix windows layout
         (merge r64979 from trunk)


Modified: grass/branches/releasebranch_7_0/gui/wxpython/vnet/dialogs.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/vnet/dialogs.py	2015-06-04 15:28:50 UTC (rev 65362)
+++ grass/branches/releasebranch_7_0/gui/wxpython/vnet/dialogs.py	2015-06-04 19:59:28 UTC (rev 65363)
@@ -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