[GRASS-SVN] r58664 - grass/trunk/gui/wxpython/gmodeler
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jan 10 05:43:39 PST 2014
Author: martinl
Date: 2014-01-10 05:43:39 -0800 (Fri, 10 Jan 2014)
New Revision: 58664
Modified:
grass/trunk/gui/wxpython/gmodeler/model.py
Log:
wxGUI/modeler: action shape size cosmetics
Modified: grass/trunk/gui/wxpython/gmodeler/model.py
===================================================================
--- grass/trunk/gui/wxpython/gmodeler/model.py 2014-01-10 10:23:03 UTC (rev 58663)
+++ grass/trunk/gui/wxpython/gmodeler/model.py 2014-01-10 13:43:39 UTC (rev 58664)
@@ -1062,14 +1062,13 @@
def SetComment(self, comment):
"""!Set comment"""
if self.regionComment is None:
- self.SetHeight(self.GetHeight() * 2)
self.regionComment = ogl.ShapeRegion()
self.regionComment.SetFormatMode(ogl.FORMAT_CENTRE_HORIZ)
font = wx.SystemSettings_GetFont(wx.SYS_DEFAULT_GUI_FONT)
font.SetStyle(wx.ITALIC)
self.regionComment.SetFont(font)
self.AddRegion(self.regionComment)
- self.regionLabel.SetProportions(0.0, 0.3)
+ self.regionLabel.SetProportions(0.0, 0.4)
self.comment = comment
self.regionComment.SetText(comment)
More information about the grass-commit
mailing list