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

