Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | kspringer | |
Old Version | Published before Godot 3 was released. |
I have ScrollContainer/VBoxContainer/multiple control nodes with content. When an user adds new control nodes to the vboxcontainer, the scroll container is expanding and he can scroll down. My problem is: when user removes control nodes, the container doesn’t return to the previous size and user can scroll on empty area of scroll container. I just want to stop scrolling on last child of vboxcontainer. I tryed change size of scroll container and vboxcontainer but it doesn’t help.
try to add Expand
flag to vertical size flag of vboxcontainer.
volzhs | 2017-07-03 10:57