-
Notifications
You must be signed in to change notification settings - Fork 635
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
TextInput rendering of newlines on single-line #7413
Comments
The thing is that Now the question is what to do for With
|
Ahh here the problem comes from! That's totally unexpected but now the strange behavior makes more sense. But to be honest, now I really wonder if it is a good idea to set
Agree. No strong opinion about it, but probably I'd just give |
I agree. I think it has been the default because at the beginning of the project the component only existed for LineEdit and was only for single line. Then when we added support for TextEdit, we didn't want to break compatibility. And we didn't review that decision later with breaking versions. |
Edit: Rendering of new-lines in a single line TextInput (the default) is not consistent across renderer.
See also description of #7414
Bug Description
The code below produces this output with winit:
Looks as expected. But with the Qt backend:
The linebreak is ignored.
Reproducible Code (if applicable)
Environment Details
Product Impact
Use-case in LibrePCB (not a blocker for now):
The text was updated successfully, but these errors were encountered: