[GRASS-dev] [GRASS-SVN] r60385 - grass/branches/releasebranch_7_0/gui/wxpython/mapwin
Markus Neteler
neteler at osgeo.org
Tue May 20 22:46:32 PDT 2014
Hi,
could d.rast.leg somehow leverage below "library" code? At time it is
suboptimal in placing the legend next to a raster map while being
generally very handy for cmd line junkies...
thanks
Markus
On Wed, May 21, 2014 at 5:07 AM, <svn_grass at osgeo.org> wrote:
> Author: annakrat
> Date: 2014-05-20 20:07:17 -0700 (Tue, 20 May 2014)
> New Revision: 60385
>
> Modified:
> grass/branches/releasebranch_7_0/gui/wxpython/mapwin/decorations.py
> Log:
> wxGUI/legend: change default legend position so that legend histogram is not cut off (merge from trunk, r60384)
>
> Modified: grass/branches/releasebranch_7_0/gui/wxpython/mapwin/decorations.py
> ===================================================================
> --- grass/branches/releasebranch_7_0/gui/wxpython/mapwin/decorations.py 2014-05-21 03:06:27 UTC (rev 60384)
> +++ grass/branches/releasebranch_7_0/gui/wxpython/mapwin/decorations.py 2014-05-21 03:07:17 UTC (rev 60385)
> @@ -211,7 +211,7 @@
> self._id = 0
> self._name = 'legend'
> # TODO: synchronize with d.legend?
> - self._defaultAt = 'at=5,50,2,5'
> + self._defaultAt = 'at=5,50,7,10'
> self._cmd = ['d.legend', self._defaultAt]
>
> def GetPlacement(self, screensize):
>
> _______________________________________________
> grass-commit mailing list
> grass-commit at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-commit
More information about the grass-dev
mailing list