Skip to content
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

Last line of multiline labels invisible #461

Open
turdparty opened this issue Jun 16, 2022 · 6 comments
Open

Last line of multiline labels invisible #461

turdparty opened this issue Jun 16, 2022 · 6 comments

Comments

@turdparty
Copy link
Contributor

I'm using the lastest git version of haxeui through openfl test html5.

The issue is that the last line of a multiline label won’t get displayed.
It does increase the height, but not quite enough. Probably does not account for margins, spacing, padding, whichever...

In the upper label it should show “some text\n123”. With some extra space it does.

@ianharrigan
Copy link
Member

Are you on a recent version of openfl? I believe the issue (if its the same im thinking of) is resolved there, can you also try the flag openfl_textfield_workarounds (ie, -D openfl_textfield_workarounds) and see if that makes things any better?

@turdparty
Copy link
Contributor Author

Yes I'm on openfl 9.1.0.
With the flag added I get tons of syncvalidation issues, but I was able to get a test case in the end, and the error still occurred. No difference.

@ianharrigan
Copy link
Member

Hmmm, ok, any chance of a test app? I think openfl git might fix it, though i appreciate that is likely something you dont want to do. I can test this end against openfl git if you have a semi small test app?

@turdparty
Copy link
Contributor Author

I made a simple test app. Unzip and run it using openfl test html5. Then in the window, keep clicking the "bla" text, it will keep adding text. As soon as the text wraps, the last line of text will not be shown, until another line is added etc.

software.zip

@ianharrigan
Copy link
Member

So, i think this is fixed in later versions of openfl, im on git, quite an old commit, but certainly not as old as the last official release, which i believe is 1year+ old. As far as a know a new version will be coming out very soon, so maybe lets leave this open and revisit it when that happens?

Also, just to sanity check, this is the behaviour i saw with your test app, you are saying you dont get this behaviour, correct?

openfl-wrapping

@turdparty
Copy link
Contributor Author

Correct, the second line only shows up when the third line is started, and then the third line being invisible.

Alright yeah, let's leave it open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants