godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.99k stars 21.16k forks source link

LineEdit and TextEdit improvements when removing text #27420

Closed issork closed 10 months ago

issork commented 5 years ago

Hello, this is a suggestion for some LineEdit improvements when removing text. The main goal is to achieve a behavior that is more common across similar controls in other programs.

As a comparison, this is what the LineEdit looks like in Godot:

https://github.com/godotengine/godot/assets/180032/24cd377e-b179-4b1b-b4e2-b1676dbe6ec9

And this is the spotify searchbar:

https://github.com/godotengine/godot/assets/180032/05f6792e-4943-4475-a1a5-802ea98e38d0

But why do I think that the behavior of the spotify searchbar is better?

LineEdits always bothered me because of this.

This applies to TextEdit as well.

girng commented 5 years ago

Yeah, I've noticed this as well. I never could put it into words. Thanks for creating this issue.

TheSofox commented 10 months ago

The images are broken.

Calinou commented 10 months ago

The images are broken.

Gfycat shut down on 2023-09-01. Luckily, Archiveteam did their thing so I replaced the URLs in OP with reuploaded videos downloaded from Wayback Machine.