Skip to content

Clear text input: use system icon instead of x #84

Closed
@lightonflux

Description

I guess this just happened because something had to be in the button, and a label would be too big. Right?

It looks rather prototypy:

bildschirmfoto vom 2015-08-04 00 58 36

Instead the system icon for "clear" should be used. Or better an inline x within the input box.¹ Or even more awesome and better: the inline clear icon of the system/toolkit.

Example (sorry, dark theme):

bildschirmfoto vom 2015-08-04 01 12 27

1: as known from mobile websites and mobile safari

BTW: Just looked at my desktop apps (~120) and qtpass is the only one with a clear button

Oh look, you don't have to do it yourself: https://doc.qt.io/archives/qt-4.7/declarative-ui-components-searchbox.html

Other password managers like keepassx, keepass and last past choose another option. No clear functionality at all.

Source: quick google image search

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions