how to expand/resize parent after dynamicaly added child ?

Godot Version

4.5

Question

`Hi All,

the scene is graphnode with vboxcontainer which is filled with child scenes according to config file. The problem is that when child is larger than its min size the parent node does not expand it size.
Yes, i did search in google but did not find working for me solution.
Thank you,
tj

have no idea if image will be uploaded but here is git repo with working example of my problem

`

You are using Control nodes as root nodes in your initializer.tscn, integerInput.tscn, and textLineInput.tscn. Control nodes don’t get their minimum size from its children and will let them be bigger if needed. Only Container sub-classes do.

Set the VBoxContainer child as the root node of these scenes and move the script to them. That should fix your issue.

Thank you Mrcdk
it works

tj