[GRASS-SVN] r65130 - grass/trunk/gui/wxpython/dbmgr
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Apr 24 10:52:23 PDT 2015
Author: annakrat
Date: 2015-04-24 10:52:23 -0700 (Fri, 24 Apr 2015)
New Revision: 65130
Modified:
grass/trunk/gui/wxpython/dbmgr/sqlbuilder.py
Log:
wxGUI/sqlbuilder: fix button placement #2661
Modified: grass/trunk/gui/wxpython/dbmgr/sqlbuilder.py
===================================================================
--- grass/trunk/gui/wxpython/dbmgr/sqlbuilder.py 2015-04-24 15:19:34 UTC (rev 65129)
+++ grass/trunk/gui/wxpython/dbmgr/sqlbuilder.py 2015-04-24 17:52:23 UTC (rev 65130)
@@ -73,6 +73,9 @@
self.statusbar = self.CreateStatusBar(number=1)
self._doLayout(modeChoices)
+ self.SetMinSize((400, 600))
+ self.SetClientSize(self.panel.GetSize())
+ self.CenterOnParent()
def _doLayout(self, modeChoices):
"""Do dialog layout"""
@@ -277,12 +280,7 @@
self.panel.SetAutoLayout(True)
self.panel.SetSizer(self.pagesizer)
self.pagesizer.Fit(self.panel)
-
- self.Layout()
- self.SetMinSize((400, 600))
- self.SetClientSize(self.panel.GetSize())
- self.CenterOnParent()
-
+
def OnUniqueValues(self, event, justsample = False):
"""Get unique values"""
vals = []
More information about the grass-commit
mailing list