Hi,

I have a PopupDialog with a VBoxContainer as a child. The VBoxContainer has a label and a GridContainer.

The stuff that I put into the PopupDialog as children is extending outside of the popup, like in this screenshot:

I am adding items to the GridContainer in script, but I do not think that this issue is related to that.

How can I make sure that everything is placed neatly inside of the popup?

Use a margin container in between and give it a large enough margin for a "safe zone"? That's the first idea that comes to my mind at least.

2 years later