[GRASS-SVN] r68271 - grass/trunk/gui/wxpython/mapswipe
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Apr 17 10:29:45 PDT 2016
Author: martinl
Date: 2016-04-17 10:29:45 -0700 (Sun, 17 Apr 2016)
New Revision: 68271
Modified:
grass/trunk/gui/wxpython/mapswipe/frame.py
Log:
g.gui.mapswipe: enlarge frame (gnome) and statusbar (wxPython3)
Modified: grass/trunk/gui/wxpython/mapswipe/frame.py
===================================================================
--- grass/trunk/gui/wxpython/mapswipe/frame.py 2016-04-17 16:54:38 UTC (rev 68270)
+++ grass/trunk/gui/wxpython/mapswipe/frame.py 2016-04-17 17:29:45 UTC (rev 68271)
@@ -24,6 +24,7 @@
from gui_core.mapdisp import DoubleMapFrame
from gui_core.dialogs import GetImageHandlers
from mapwin.base import MapWindowProperties
+from core import globalvar
from core.render import Map
from mapdisp import statusbar as sb
from core.debug import Debug
@@ -101,7 +102,7 @@
self.Bind(wx.EVT_IDLE, self.OnIdle)
self.Bind(wx.EVT_CLOSE, self.OnCloseWindow)
- self.SetSize((800, 600))
+ self.SetSize((825, 600))
self._mgr.Update()
@@ -171,6 +172,8 @@
# create statusbar and its manager
statusbar = self.CreateStatusBar(number = 4, style = 0)
+ if globalvar.wxPython3:
+ statusbar.SetMinHeight(24)
statusbar.SetStatusWidths([-5, -2, -1, -1])
self.statusbarManager = sb.SbManager(mapframe = self, statusbar = statusbar)
More information about the grass-commit
mailing list