-
Notifications
You must be signed in to change notification settings - Fork 386
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
Label: text doesn't fit #1780
Comments
It's interesting that word wrap works correctly, but a line break does not. Does it make a difference if you set the useGutter property to true on the TextFieldTextRenderer? |
Unfortunately, setting |
In that case, I think it's probably a bug in flash.text.TextField. I've run into many over the years. Sometimes, it handles certain fonts better than others. If you switched to a different font, it might work. Switching to TextBlockTextRenderer will probably work better too. |
Using
TextFieldTextRenderer
Parent container uses
AnchorLayout
Label properties:
If I use text with line break, second line is not shown
Text:
Hello, Vitenka3533!\nI will guide you for the first time.
Screen:
Screen without line break - \n:
The text was updated successfully, but these errors were encountered: