Resize GridContainer Children

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

I’m wondering how to resize the children of a GridContainer. In my case, the children are TextureRects. For making the TextureRect children smaller, setting the scale, size, or min_size of the rect does not work.

:bust_in_silhouette: Reply From: supper_raptor

You can resize children by setting min size in rect option

That doesn’t seem to work if I want to make the children smaller, and if I want to make it bigger it changes the size of the rect, but not the texture inside the rect

MathiasStrohkirch | 2020-04-11 12:48

toggle expand option in TextureRect

supper_raptor | 2020-04-13 15:24

Ohmygod dude thank you so much. I didnt have the same problem but your answer saved me. <3

Aancapo | 2023-03-26 04:31