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

Fix quick open background panel style #97820

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

passivestar
Copy link
Contributor

@passivestar passivestar commented Oct 4, 2024

Quick open result container tries to set the container stylebox override to QuickOpenBackgroundPanel which isn't defined in the editor theme. This adds the missing stylebox to make quick open look consistent with all other lists in editor. Using Tree panel stylebox instead

Master PR
master pr

@passivestar passivestar requested review from a team as code owners October 4, 2024 18:47
@Chaosus Chaosus added this to the 4.4 milestone Oct 4, 2024
@KoBeWi
Copy link
Member

KoBeWi commented Oct 4, 2024

Instead of copying tree panel, you can assign it directly in the dialog. There is no reason to have a type that's identical to existing one.

CC @stijn-h

@passivestar passivestar changed the title Add missing stylebox for quick open background panel Fix quick open background panel style Oct 4, 2024
@akien-mga akien-mga merged commit db66bd3 into godotengine:master Oct 4, 2024
19 checks passed
@akien-mga
Copy link
Member

Thanks!

@stijn-h
Copy link
Contributor

stijn-h commented Oct 4, 2024

Yeah, this is what it was supposed to look like. I intended to use this stylebox to remove padding on the sides of the dialog. I got it working in a hacky way, but ended up giving up on it because i couldnt figure it out and removed most theming, except this apparently. Thanks for fixing!

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