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

Color match editor log toggles and flat pressed buttons #82365

Merged

Conversation

YuriSizov
Copy link
Contributor

One thing that I didn't account for in #81939 was that we have these special-style toggle buttons in the editor log, and right next to them we have flat toggle buttons. With the new style it looks pretty meh together.

godot windows editor dev x86_64_2023-09-26_14-00-03

So I've adjusted the colors of the new flat buttons and made sure that the editor log filters also use the same colors. I also added a separator to the editor log sidebar to separate buttons which do immediate actions from buttons which have toggle behavior.

godot windows editor dev x86_64_2023-09-26_14-14-57 godot windows editor dev x86_64_2023-09-26_14-15-33

I've debated a bit if we should completely match the style of the editor log filters with flat buttons, but decided to avoid drowning in bikeshedding on this one. There was a reason to add borders, but these borders don't work well if applied to every flat button. Also making filters flat makes them less clear in the disabled state. So I kept them as is, with their unique features. Just made sure that pressed colors are the same.

@YuriSizov YuriSizov force-pushed the editor-colormatch-pressed-buttons branch from 548a0f2 to cdec1ee Compare September 26, 2023 14:42
@akien-mga akien-mga merged commit f0d86f3 into godotengine:master Sep 26, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@YuriSizov YuriSizov deleted the editor-colormatch-pressed-buttons branch September 26, 2023 16:52
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.

2 participants