+3 votes

I'm doing some UI customisation with themes. One of the things I'm changing is the File Dialog box. I've found the color and font for the title but not the property to change the background color/opacity. It defaults to completely transparent, as the screenshot shows.

enter image description here
enter image description here

The files area is themed by a Tree class, the buttons by a Button, but I can't figure what controls the title opacity. It should be near the color and font, I think.

Anyone can help? Thank you.

in Engine by (104 points)

1 Answer

+1 vote
Best answer

Answered here:

"This is because the window panel itself is used to draw the title bar background. You can do so by modifying its StyleBox, increasing the top Expand Margin to 20 pixels or so, and setting the top border width to 20 pixels if you'd like it to use a different background color."

by (104 points)
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.