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

XEOK-44 Annotation text adjustment #1554

Merged
merged 2 commits into from
Jun 26, 2024
Merged

Conversation

MichalDybizbanskiCreoox
Copy link
Collaborator

The PR introduces Annotation::setMarkerAlign and Annotation::setLabelPosition methods.

Annotation::setMarkerAlign accepts one of [ "left", "center", "right" ]
Annotation::setLabelPosition accepts a non-zero number, which determines a pixel offset of the label relative to the marker to its left (for negative argument) or its right (for positive argument).

This PR retains previous behavior as a default.

@xeolabs xeolabs merged commit 42855b5 into master Jun 26, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants