Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@hi101000

Description

@hi101000

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working correctlyconfirmedThis bug has been confirmed

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions