소스 검색

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}