Automatically resizing according to children

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

I’ve set up a scene as follows:

According to the tooltip, the WindowDialog automatically resizes itself when its rect_min_size value is (0,0), and this is the case since I haven’t changed those values. However, it doesn’t seem like it’s doing that - the widgets under it are spilling out of the window, and this remains the case even when I save and run the scene. Making a script tied to the WIndowDialog and setting its size to be equal to $container.size does work, however. Am I doing something wrong?

I’m using 3.1 beta, if that helps.