0 votes

If I create a theme and apply it to a WindowDialog, I notice that the theme's panel style doesn't get used.

For a WindowDialog, I can set the "Panel" theme under "Custom Styles" to get the effect I want.

FileDialog, however, has no such Custom Styles, so I don't seem to be able to theme the panel's background color and such.

Am I missing something? Should this be considered a bug?

Thank you.

Godot version 3.2.4
in Engine by (15 points)

1 Answer

+1 vote
Best answer

You basically answered your own question.

Create a new theme in the inspector
When the theme editor opens click Edit Theme then Add Class Items choose the Windows Dialog Type and Add All.

In the Inspector the style options for Window Dialog should become available so style as needed.

by (4,972 points)
selected by

Indeed, thanks. I wound up figuring out that I simply didn't understand how theming works. Could delete this question if it's useless.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.