Browse Source

wxGUI/mapswipe: define default background color for map name labels

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58474 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 years ago
parent
commit
0fedb2e77d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      gui/wxpython/mapswipe/mapwindow.py

+ 1 - 0
gui/wxpython/mapswipe/mapwindow.py

@@ -168,6 +168,7 @@ class SwipeBufferedWindow(BufferedMapWindow):
         """!Sets text label with map name."""
         self.textdict[textId] = {'bbox': wx.Rect(), 'coords': [10, 10],
                                  'font': self.GetFont(), 'color': wx.BLACK,
+                                 'background' : wx.LIGHT_GREY,
                                  'rotation': 0, 'text': name,
                                  'active': True}