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 main editor window border margin controllable by theme #74767

Merged
merged 1 commit into from
May 31, 2023

Conversation

davthedev
Copy link
Contributor

@davthedev davthedev commented Mar 11, 2023

The main window border margin and separation between top bar and the rest of the editor are currently hardcoded to 8px in the source code.

Proposal: godotengine/godot-proposals#6482

This change moves those values to editor theme constants, so that they can be controlled by a custom theme.

The editor theme generation is updated in consequence with the same values by default.

Can be backported to 3.x

@Calinou
Copy link
Member

Calinou commented Mar 11, 2023

See also #40287.

@Riteo
Copy link
Contributor

Riteo commented Apr 5, 2023

While #40287 didn't get much approval, from what I can see this change looks like a good one and a step in the right direction towards better theming of the editor, other than being expected behavior (see: godotengine/godot-proposals#6482 (comment))

It also looks fairly trivial. What's stopping this one (although, tbf, this is "relatively" young)?

@YuriSizov YuriSizov self-requested a review April 5, 2023 15:33
Copy link
Contributor

@YuriSizov YuriSizov left a comment

Choose a reason for hiding this comment

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

Needs a rebase.

@YuriSizov YuriSizov modified the milestones: 4.x, 4.1 May 29, 2023
@YuriSizov YuriSizov removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label May 29, 2023
@YuriSizov YuriSizov merged commit 7b379b1 into godotengine:master May 31, 2023
@YuriSizov
Copy link
Contributor

Thanks!

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.

4 participants