webgl-operate icon indicating copy to clipboard operation
webgl-operate copied to clipboard

line anchor in multi-line label based on first line

Open anne-gropler opened this issue 5 years ago • 2 comments

The line anchor (Label.LineAnchor) only takes the first line of a label into account. Given a multi-line label, the line anchor Centered won't vertically center the label at the given point.

Is this desired behaviour, since it is called Lineanchor and not LabelAnchor?

anne-gropler avatar Mar 12 '19 13:03 anne-gropler

grafik Expected the plus ('+') glyph to be more in the vertical middle of the 'target cross'.

anne-gropler avatar Mar 12 '19 14:03 anne-gropler

Yes this is intended. But we probably should add this, as you suggested, by introducing LabelAnchor.

cgcostume avatar Jan 26 '22 08:01 cgcostume