瀏覽代碼

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 年之前
父節點
當前提交
0fedb2e77d
共有 1 個文件被更改,包括 1 次插入0 次删除
  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}