[GRASS-SVN] r30981 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Apr 14 05:19:25 EDT 2008


Author: martinl
Date: 2008-04-14 05:19:25 -0400 (Mon, 14 Apr 2008)
New Revision: 30981

Modified:
   grass/trunk/gui/wxpython/gui_modules/dbm.py
Log:
wxGUI (dbm): hard-coded max column width (fixme)


Modified: grass/trunk/gui/wxpython/gui_modules/dbm.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/dbm.py	2008-04-14 08:27:18 UTC (rev 30980)
+++ grass/trunk/gui/wxpython/gui_modules/dbm.py	2008-04-14 09:19:25 UTC (rev 30981)
@@ -249,6 +249,8 @@
             width = self.columns[col]['length'] * 6 # FIXME
             if width < 60:
                 width = 60
+            if width > 300:
+                width = 300
             self.SetColumnWidth(col=i, width=width)
             i += 1
 



More information about the grass-commit mailing list