-
Notifications
You must be signed in to change notification settings - Fork 9
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
TextraLabel wrap will not respect prefWidth for long words #11
Comments
The behavior here is different from Label, and I've been aware of this for some time. I do want to make the wrapping behavior match Label at some point in the near future, it's just a ton of work. Right now, the rules wrapping follows are:
|
tommyettinger
added a commit
that referenced
this issue
Aug 15, 2023
Thanks for the elaborated answer Tommy. For the time being, I will use a workaround and manually break long words. Cheers! |
hojat72elect
pushed a commit
to hojat72elect/textratypist
that referenced
this issue
Jun 19, 2024
Former-commit-id: 742dd0b
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
I'm using the TextraTypist library (which is awesome by the way!) for the labels in my game.
Something I noticed is that labels won't wrap long words properly. It looks like TextraLabel with wrap does not respect the preferred width for long words:
Code (using the default skin at https://github.com/czyzby/gdx-skins/tree/master/default/skin):
The text was updated successfully, but these errors were encountered: