[GRASS-SVN] r62656 - grass/trunk/gui/wxpython/mapwin
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Nov 7 08:50:18 PST 2014
Author: martinl
Date: 2014-11-07 08:50:18 -0800 (Fri, 07 Nov 2014)
New Revision: 62656
Modified:
grass/trunk/gui/wxpython/mapwin/decorations.py
Log:
wxGUI: define min size for TextLayerDialog
Modified: grass/trunk/gui/wxpython/mapwin/decorations.py
===================================================================
--- grass/trunk/gui/wxpython/mapwin/decorations.py 2014-11-07 16:41:36 UTC (rev 62655)
+++ grass/trunk/gui/wxpython/mapwin/decorations.py 2014-11-07 16:50:18 UTC (rev 62656)
@@ -407,6 +407,8 @@
self.Bind(wx.EVT_TEXT, self.OnText, self.textentry)
self.Bind(wx.EVT_SPINCTRL, self.OnRotation, self.rotation)
+ self.SetMinSize((400, 230))
+
def OnRefit(self, event):
"""Resize text entry to match text"""
self.sizer.Fit(self)
More information about the grass-commit
mailing list