[GRASS-SVN] r30237 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 18 11:38:31 EST 2008
Author: martinl
Date: 2008-02-18 11:38:31 -0500 (Mon, 18 Feb 2008)
New Revision: 30237
Modified:
grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py
Log:
wxGUI: do not use SetAutoLayout for LayerTree
Modified: grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py 2008-02-18 15:49:35 UTC (rev 30236)
+++ grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py 2008-02-18 16:38:31 UTC (rev 30237)
@@ -69,7 +69,9 @@
idx=None, gismgr=None, notebook=None, auimgr=None):
CT.CustomTreeCtrl.__init__(self, parent, id, pos, size, style,ctstyle)
- self.SetAutoLayout(True)
+ ### SetAutoLayout() causes that no vertical scrollbar is displayed
+ ### when some layers are not visible in layer tree
+ # self.SetAutoLayout(True)
self.SetGradientStyle(1)
self.EnableSelectionGradient(True)
self.SetFirstGradientColour(wx.Colour(150, 150, 150))
More information about the grass-commit
mailing list