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

Text Field with clear button will not expand properly to fit multiple lines #1482

Open
hi101000 opened this issue Mar 6, 2025 · 1 comment
Assignees
Labels
bug Something isn't working correctly confirmed This bug has been confirmed
Milestone

Comments

@hi101000
Copy link

hi101000 commented Mar 6, 2025

Describe the bug

After calling the AddClearButton() method of the TextField, it allows for multiple lines of text, but does not expand to fit them.

with the clear button
Image

without the clear button

Image

How to reproduce

Create a TextField and call the AddClearButton() method

Example code

`prompt := core.NewTextField(fr)
prompt.SetPlaceholder("Enter your prompt here")
//prompt.AddClearButton()

Relevant output

Platform

macOS

@hi101000 hi101000 added the bug Something isn't working correctly label Mar 6, 2025
@github-project-automation github-project-automation bot moved this to Todo in Bugs Mar 6, 2025
@kkoreilly
Copy link
Member

Thank you for reporting this. I can reproduce this issue, and we will work on fixing it after we finish #1457, which is an ongoing improvement of text rendering logic that may impact this. As such, this should be fixed within a couple of weeks. Please let me know if you have any questions.

@kkoreilly kkoreilly self-assigned this Mar 7, 2025
@kkoreilly kkoreilly added the confirmed This bug has been confirmed label Mar 7, 2025
@kkoreilly kkoreilly added this to the v0.4 milestone Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly confirmed This bug has been confirmed
Projects
Status: Todo
Development

No branches or pull requests

2 participants