Sorry if the question is a bit generic, but I couldn’t find an answer, and it’s my first time working with Control nodes like this, so I’m a bit confused:
Basically, I have a MarginContainer holding a Label, and it changes size depending on the size of the text. I wanted there to be a minimum size, so even if the text is small or empty, the Container would maintain a minimum size. I have tried using Layout/custom_minimum_size but it seems to do nothing at all for some reason.
I suppose try setting the custom_minimum_size.x and .y of the parent MarginContainer to what you want and then setting its direct children’s (looks like a NinePatchRect and another MarginContainer) sizing controls to expand vertically & horizontally so they fill up that minimum-sized space.
Also I very much recommend saving the “item” MarginContainer that you have several copies of here as a Scene so you can just edit the scene and every copy updates with those edits
I think I figured it out and it’s really silly on my part. I wasn’t setting custom_minimum_size to a high enough value to notice a difference. I’m sorry!