Open lucas-kakele opened 1 year ago
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:
THEPOWEROFCHRIS
TCOMPELSYOU!
'-'
), and are retained along with a newline after them.Thanks for the elaborated answer Tommy. For the time being, I will use a workaround and manually break long words. Cheers!
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):