This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I have a scene that is 100px high (let's call it 'List Instance') and I will be using many instances of it in another scene. I want to build a list of these instances in a nice, orderly fashion. However, I seem to be having troubles.
In the parent scene I have a ScrollContainer with a VBoxContainer child. I am then programmatically adding List Instances to the VBoxContainer.
If my List Instance does not have its size flags set to expand, then they simply doesn't exist. I mean, it do, but it exist at a size of 0, 0.
If my List Instance does have its size flags set to expand, then it does exactly that. But it expands to the whole parent container.
I've not been able to find a middle ground where adding the List Instance adds it at 100px and the next instance adds at 100px at 101px from the top to form a list.
Any help would be greatly appreciated. Sort of knocking my head against a wall.
Thank you in advance!
Subreddit
Post Details
- Posted
- 4 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/godot/comme...