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 the flat button style on switches in scene and node docks #85236

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

YuriSizov
Copy link
Contributor

A follow-up to #81939.

So I have always found these two buttons to be awkwardly designed. A lot of empty space, no panels, just accented text to show which is active. Never arrived to a better design myself, but now that we have the FlatButton style, thanks to #81939, I think it would be appropriate to use it here.

It still feels a bit disconnected, but I think this is still better and it uses a consistent style from other parts of the editor. So should be a safe choice for now.

NVIDIA_Share_2023-11-22_19-40-00
godot.windows.editor.dev.x86_64_2023-11-22_19-34-39.mp4

@KoBeWi
Copy link
Member

KoBeWi commented Nov 22, 2023

Should Node dock be changed too? It has icons, but the buttons are flat.

@Calinou
Copy link
Member

Calinou commented Nov 22, 2023

Should these buttons be converted to use TabBar instead?

@YuriSizov
Copy link
Contributor Author

YuriSizov commented Nov 22, 2023

Should Node dock be changed too? It has icons, but the buttons are flat.

Sure!

image

Should these buttons be converted to use TabBar instead?

That was my initial idea back then, but I'm not sure it would work well inside of a dock which itself is a part of some tabs. I mean, mechanically they could. But visually I think something else is needed.

@YuriSizov YuriSizov changed the title Use the flat button style on the remote/local scene dock switch Use the flat button style on switches in scene and node docks Nov 22, 2023
Copy link
Member

@AThousandShips AThousandShips left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it

@YuriSizov YuriSizov merged commit 8cb2d20 into godotengine:master Dec 8, 2023
15 checks passed
@YuriSizov YuriSizov deleted the editor-flat-remote branch December 8, 2023 16:23
@YuriSizov
Copy link
Contributor Author

Thanks for reviews!

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.

5 participants