[Therion] Colour legend labels poorly aligned if more than single line
Bruce Mutton
bruce at tomo.co.nz
Tue Aug 17 10:35:24 CEST 2021
The alignment of labels is set towards the top of the colour swatch for the
colour legend. This is probably perfect for the banded colour lookup shown
below.
However where there are multiline labels, the first line for each swatch is
set too high.
May I suggest that the insertion point/alignment for each text label be set
at the top of each swatch, rather than above the centre of each swatch as
currently appears to be the case?
Bruce
lookup altitude:FloodLower -title "Passage coloured by Inundation Hazard"
#these colours work best with higher opacity (70-100)
[430 500] [098 100 098] [Above 430 m inundation not observed]
#greeny white
[420 430] [086 100 100] [430 m - 10 yr return period<br> 90
cumec, Riuwaka at Littles] #water blue
[400 420] [043 060 090] [420 m - 5 yr return period<br>70
cumec, Riuwaka at Littles]
[300 400] [000 020 080] [400 m frequent flooding assumed]
#dark blue
endlookup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20210817/8fb74d02/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 40559 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20210817/8fb74d02/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 242180 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20210817/8fb74d02/attachment-0003.png>
More information about the Therion
mailing list