Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

line anchor in multi-line label based on first line #171

Open
anne-gropler opened this issue Mar 12, 2019 · 2 comments
Open

line anchor in multi-line label based on first line #171

anne-gropler opened this issue Mar 12, 2019 · 2 comments
Labels
haeley-webgl-text Move/to be resolved in to haeley-webgl-text

Comments

@anne-gropler
Copy link
Collaborator

anne-gropler commented Mar 12, 2019

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
Copy link
Collaborator Author

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

@cgcostume
Copy link
Member

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

@cgcostume cgcostume added the haeley-webgl-text Move/to be resolved in to haeley-webgl-text label Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
haeley-webgl-text Move/to be resolved in to haeley-webgl-text
Projects
None yet
Development

No branches or pull requests

2 participants