+2 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.

asked Jul 10 in Engine by cgeadas (94 points)

1 Answer

0 votes
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."

answered Jul 10 by cgeadas (94 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.