Why any UI container don't have background color and border color? As they stand is to complicate to create any GUI... It will became immediately like Chinese boxes. Thank you
Container border and background
Containers are intended to be used for alignment purposes; they are intentionally not visible. If you want visible backgrounds, use the Panel or TextureRect nodes.
In my demo I want to have a message pop up that says you won. So I have an IF statement that says if monsters < 1 then:
get_tree().change_scene("res://UI/EndScreen.tscn")
This works fine except that the MarginContainer or CenterContainer (I've tried both) both have a dark grey background that covers the screen framing the text. I don't have any theme set or any colors picked. I simply want the text to be posted on the screen that says you've won and am using those containers to center the message.
Any ideas how to fix this? I'm using version 3.4.3.
cbillows I don't have any theme set or any colors picked.
I would create for it a custom theme.
Any suggested tutorials on how to do that? I have tried to create a custom theme and the new interface is not making any sense to me.
Megalomaniak
Okay, your reply got me going in the right direction. I found the following video to help with custom themes.
It solves part of my issue. The scene still has a background to it.
The panelcontainer theme should make use of a 'empty' stylebox