Coming soon - Get a detailed view of why an account is flagged as spam!
view details

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.

2
Struggling With A List
Post Flair (click to view more posts with a particular flair)
Post Body

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!

Author
Account Strength
100%
Account Age
11 years
Verified Email
Yes
Verified Flair
No
Total Karma
6,681
Link Karma
4,772
Comment Karma
1,520
Profile updated: 5 days ago
Posts updated: 9 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago