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

Tweak pressed CheckBox appearance in the editor #48954

Merged

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented May 22, 2021

Follow-up to #22150.

This uses the accent color to match pressed CheckButtons after they were updated. I got the idea thanks to this mockup 🙂

Checked checkboxes are now more prominent in the user's peripheral vision, which can be useful at times. This also matches how checkboxes look in most operating systems and web browsers.

Note that this has the same limitations as the previous CheckButton PR (non-default accent colors won't be used to recolor the icon). I still think this is an usability upgrade overall, so we can look into adding recoloring support for icons later in the 4.0 cycle.

This is cherry-pickable to the 3.x branch for consistency with the aforementioned CheckButton PR. The change also "makes sense" without the editor theme revamp, so it should be visually consistent there.

Preview

Dark theme

Before After
Old checkboxes New checkboxes

Light theme

Before After
New checkboxes Old checkboxes

This uses the accent color to match pressed CheckButtons after they
were updated. Checked checkboxes are now more prominent in the user's
peripheral vision, which can be useful at times. This also matches
how checkboxes look in most operating systems and web browsers.
@Calinou Calinou requested a review from a team as a code owner May 22, 2021 01:53
@Calinou Calinou added this to the 4.0 milestone May 22, 2021
@Calinou Calinou added the cherrypick:3.x Considered for cherry-picking into a future 3.x release label May 22, 2021
@akien-mga
Copy link
Member

This looks good for project/editor settings where your focus is fully on editing the settings, but I wonder if this wouldn't be too much accent for boolean properties in the inspector. I guess we can merge and see if users complain.

@akien-mga akien-mga merged commit 1cc8cc9 into godotengine:master May 22, 2021
@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 3.4.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label May 22, 2021
@Calinou Calinou deleted the editor-tweak-checked-checkbox-appearance branch August 3, 2021 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants