This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+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 (111 points)

1 Answer

+3 votes
Best answer

Answered here:
https://github.com/godotengine/godot/issues/40267#issuecomment-656887073

"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 (111 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 Frequently asked questions and 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 [email protected] with your username.