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

Make the input flat #275

Open
alainm23 opened this issue Feb 5, 2025 · 2 comments · May be fixed by #277
Open

Make the input flat #275

alainm23 opened this issue Feb 5, 2025 · 2 comments · May be fixed by #277

Comments

@alainm23
Copy link

alainm23 commented Feb 5, 2025

Problem

Many calculator apps on the market use a flat input; it feels a bit more modern.

macOS

Image

Windows

Image

Android

Image

Proposal

Gtk.Text could be used instead of Gtk.Entry; the calculator app looks more modern.

Image

Prior Art (Optional)

No response

@tintou
Copy link
Member

tintou commented Feb 5, 2025

No need to use a Gtk.Text, just add the "flat" styleclass to the Gtk.Entry

@alainm23
Copy link
Author

alainm23 commented Feb 5, 2025

That's true, but Gtk.Entry has other classes that still show the focus or active border when the input is focused.

Image

@alainm23 alainm23 linked a pull request Feb 6, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants