Skip to content
Discussion options

You must be logged in to vote

@Nordsoft91 As @DelinWorks pointed out, to correctly align text, the label would need to have fixed dimensions. The reason it's moving in your example is simply because the dimensions of the box change as the string contents are updated, and given it's set to anchor point of Vec2::ANCHOR_MIDDLE by default, you can see how that would affect the left alignment of text.

If you have no other concerns related to this, then please close this issue.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Nordsoft91
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #1560 on December 31, 2023 03:37.