Popup invisible title

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LukeCage


I’m making a movable window in my game, and I’ve used the popup function. The fact is that I want to style it like a terminal, so I make a custom style. The problem here is that the “title part” of the popup is bemoming transparent. How I can fix this?

enter image description here

:bust_in_silhouette: Reply From: 1shevelov

You should set Expand Top Margin to 20 px or more for StyleBox you’ve set for Panel property in the theme.

More info here: What is the property in a theme to change a File Dialog title background color? - Archive - Godot Forum