Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Droggelbecher |
Hello,
I’m struggling with the ScrollContainer node. I want to display a list of panels which contain multiple TextureButton and Label nodes.
This is my tree structure:
-ScrollContainer
– VBoxContainer
— Panel
---- Label
---- TextureButton
---- TextureButton
— Panel
---- Label
---- TextureButton
---- TextureButton
The Separation value of the VBoxContainer is activated and set to a value above 0. Unfortunately, the Panel nodes and their children aren’t displayed at all. Only basic buttons and labels seem to work inside a VBoxContainer.
Older explanations suggest to work with Control nodes within VBoxContainer, but that solution didn’t help. The official documentation wasn’t very informative either.
Does someone know how to use the ScrollContainer properly or is there a better way to create such a list?