Closed hypergeome closed 3 years ago
@ianharrigan As far as I know, the problem is that label does display only the text on the first line, but not the others. This applies to both the usage of a newline symbol (the case described above) AND just an automatic word wrapping.
This is broken since 1.2.0.
This also affects Dialogs.
I think this is a critical bug
Hmm, missed this somehow... Have you tried git versions? Still an issue there?
Also, what backend is this etc?
Hmm, missed this somehow... Have you tried git versions? Still an issue there?
Also, what backend is this etc?
Ah, sorry, I forgot to add these details.
Yeah, so my version is git and my backend is haxeui-openfl.
This looks to be openfl related, im going to work around in for now in haxeui-openfl, but ive also opened an issue here: https://github.com/openfl/openfl/issues/2499
This looks to be openfl related, im going to work around in for now in haxeui-openfl, but ive also opened an issue here: openfl/openfl#2499
Thank you very much!
OK, that should be "fixed" now (just worked around it for now, but hopefully openfl will fix the underlying issue)
OK, that should be "fixed" now (just worked around it for now, but hopefully openfl will fix the underlying issue)
Yay, this has definitely been fixed, both for labels and for dialogs. Thanks a lot! Should we close this (as this is the openfl-only issue now)?
Yeah, might as well close this... the workaround isnt awful, and if / when openfl fixes it we can just remove the `+1'
When we set text for label that contains \n, the last line wont be displayed
Expected Behavior
When setting text for label that contains \n, all lines should be displayed.
Current Behavior
When we set text for label that contains \n, the last line wont be displayed
Possible Solution
Steps to Reproduce (for bugs)
1. 2. 3. 4.
Media
Test app / minimal test case
Context
Your Environment