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

Use disabled icons for CheckBox in DefaultTheme #84946

Conversation

DarkMessiah
Copy link
Contributor

CheckBox

After Before
image image

PopupMenu

After Before
image image

P.S. I found that PopupMenu modulates the icon color for the disabled state. Is this necessary when using separate icons for each state?

@DarkMessiah DarkMessiah requested a review from a team as a code owner November 15, 2023 17:45
@Calinou Calinou added this to the 4.3 milestone Nov 15, 2023
@Calinou
Copy link
Member

Calinou commented Nov 15, 2023

P.S. I found that PopupMenu modulates the icon color for the disabled state. Is this necessary when using separate icons for each state?

Technically, we should get rid of either the automatic modulation or the disabled icons, but this would break compatibility with existing custom themes (especially the latter). I'd steer towards removing the automatic modulation personally.

@DarkMessiah
Copy link
Contributor Author

If we remove modulation, all custom themes will also be changed. For example, EditorTheme:

PopupMenu Without Modulation PopupMenu With Modulation
image image

@DarkMessiah DarkMessiah force-pushed the default-theme-checkbox-disabled-state branch from f6e2b86 to ff59496 Compare November 19, 2023 21:02
@akien-mga akien-mga requested review from Calinou and YuriSizov January 9, 2024 12:44
@Calinou
Copy link
Member

Calinou commented Jan 10, 2024

Note: This shouldn't be cherry-picked to 4.2 as it affects default theme appearance.

@akien-mga akien-mga merged commit 365755f into godotengine:master Jan 10, 2024
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@DarkMessiah DarkMessiah deleted the default-theme-checkbox-disabled-state branch January 10, 2024 11:42
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