[GRASS-SVN] r64167 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 14 03:39:45 PST 2015
Author: martinl
Date: 2015-01-14 03:39:45 -0800 (Wed, 14 Jan 2015)
New Revision: 64167
Modified:
grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI: force height for colour widget (wxPython 3 fix)
Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py 2015-01-14 11:37:34 UTC (rev 64166)
+++ grass/trunk/gui/wxpython/gui_core/forms.py 2015-01-14 11:39:45 UTC (rev 64167)
@@ -1479,7 +1479,7 @@
btn_colour = csel.ColourSelect(parent = which_panel, id = wx.ID_ANY,
label = label_color, colour = default_color,
- pos = wx.DefaultPosition, size = (colorSize,-1))
+ pos = wx.DefaultPosition, size = (colorSize, 32))
this_sizer.Add(item = btn_colour, proportion = 0,
flag = wx.ADJUST_MINSIZE | wx.BOTTOM | wx.LEFT, border = 5)
btn_colour.Bind(csel.EVT_COLOURSELECT, self.OnColorChange)
More information about the grass-commit
mailing list