On Sep 16, 2009, at 5:25 PM, [email protected] wrote:
Date: Wed, 16 Sep 2009 19:08:38 -0000
From: "GRASS GIS" <[email protected]>
Subject: [GRASS-dev] [GRASS GIS] #750: wxGUI: scalebar loses focus
To: undisclosed-recipients:;
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
#750: wxGUI: scalebar loses focus
--------------------
+-------------------------------------------------------
Reporter: hamish | Owner: [email protected]
Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Keywords: | Platform: Linux
Cpu: x86-64 |
--------------------
+-------------------------------------------------------
Hi,
in the wx Map Display window if you add a scalebar, drag it to the
bottom
left, then add a raster legend, after that it is not possible to
drag the
scalebar any more, even if you reselect add scalebar from the add
overlay
menu. The legend gets dragged around instead.
??
Hamish
What is happening is not quite what it appears. The real problem is
that both the scalebar and legend are "maps" because that is how GRASS
draws them. The invisible "maps" are the same size as the screen. When
you put both a legend and a scalebar on a real (i.e., visible) map and
they overlay each other it is sometimes hard to grab the underlying
element. If you move the legend out of the way, you can grab and move
the scalebar.
There is probably a way to fix this but I didn't figure it out when I
first did this, and it hasn't been high enough on the priority list to
fix afterwards. What is needed is to somehow clip the graphic of the
legend and scalebar so that it closely conforms to the element.
However, this would also need to change size if the element changes
size.
Michael
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev