How do I make this expandable list work?

Pretty straight forward, when the button is clicked the list expands and should push everything down, or up when not extended but what I get is that everything stays the same no matter what.

What it looks like:

What it should look like:

I am using UIListLayout for this.

1 Like

Iā€™d suggest posting this into #help-and-feedback:scripting-support