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

TextEdit::clip_text is being ignored for singleline text #5511

Open
Barugon opened this issue Dec 22, 2024 · 0 comments
Open

TextEdit::clip_text is being ignored for singleline text #5511

Barugon opened this issue Dec 22, 2024 · 0 comments
Labels
bug Something is broken

Comments

@Barugon
Copy link
Contributor

Barugon commented Dec 22, 2024

Describe the bug
TextEdit::clip_text is being ignored for singleline text. With clip_text set to true, the TextEdit widget expands when the text gets too long.

Here are a couple screenshots showing the behavior.

Before adding text:
Screenshot From 2024-12-22 00-17-11

Pasting in some long text:
Screenshot From 2024-12-22 00-17-53

If I maximize the window (also odd behavior since I have window resizing disabled) then you can see the full size of the TextEdit:
Screenshot From 2024-12-22 00-18-24

This behavior started with v0.30 and still exists in the main branch.

[edit] This may be related to #5500.

@Barugon Barugon added the bug Something is broken label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken
Projects
None yet
Development

No branches or pull requests

1 participant