Browse Source

add a tooltip explaining that 'map scale' as given here is only really accurate to within the order of magnitude (see https://trac.osgeo.org/grass/ticket/1381)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48228 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 13 years ago
parent
commit
339bfbf9b6
2 changed files with 8 additions and 0 deletions
  1. 4 0
      gui/wxpython/gui_modules/gcpmapdisp.py
  2. 4 0
      gui/wxpython/gui_modules/mapdisp.py

+ 4 - 0
gui/wxpython/gui_modules/gcpmapdisp.py

@@ -200,6 +200,10 @@ class MapFrame(wx.Frame):
                                                 '1:100000',
                                                 '1:1000000'])
         self.statusbarWin['mapscale'].Hide()
+        self.statusbarWin['mapscale'].SetToolTip(wx.ToolTip (_("As everyone's monitors and resolutions "
+                                                              "are set differently these values are not "
+                                                              "true map scales, but should get you into "
+                                                              "the right neighborhood.")))
         self.statusbar.Bind(wx.EVT_TEXT_ENTER, self.OnChangeMapScale, self.statusbarWin['mapscale'])
         self.statusbar.Bind(wx.EVT_COMBOBOX, self.OnChangeMapScale, self.statusbarWin['mapscale'])
 

+ 4 - 0
gui/wxpython/gui_modules/mapdisp.py

@@ -198,6 +198,10 @@ class MapFrame(wx.Frame):
                                                 '1:100000',
                                                 '1:1000000'])
         self.statusbarWin['mapscale'].Hide()
+        self.statusbarWin['mapscale'].SetToolTip(wx.ToolTip (_("As everyone's monitors and resolutions "
+                                                              "are set differently these values are not "
+                                                              "true map scales, but should get you into "
+                                                              "the right neighborhood.")))
         self.statusbar.Bind(wx.EVT_TEXT_ENTER, self.OnChangeMapScale, self.statusbarWin['mapscale'])
         self.statusbar.Bind(wx.EVT_COMBOBOX, self.OnChangeMapScale, self.statusbarWin['mapscale'])