[GRASS-SVN] r68272 - grass/branches/releasebranch_7_0/gui/wxpython/mapswipe

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Apr 17 10:32:35 PDT 2016


Author: martinl
Date: 2016-04-17 10:32:35 -0700 (Sun, 17 Apr 2016)
New Revision: 68272

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/mapswipe/frame.py
Log:
g.gui.mapswipe: enlarge frame (gnome) and statusbar (wxPython3)
                (merge r68271)


Modified: grass/branches/releasebranch_7_0/gui/wxpython/mapswipe/frame.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/mapswipe/frame.py	2016-04-17 17:29:45 UTC (rev 68271)
+++ grass/branches/releasebranch_7_0/gui/wxpython/mapswipe/frame.py	2016-04-17 17:32:35 UTC (rev 68272)
@@ -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