How can I set the Scrollview's Content dimensions dynamically?

I have a scrollview that gets filled with dynamic entities (think of a leaderboard or shop page) and need to set it’s size after it’s been filled. I’ve been looking at the doc but can’t see any calls to set it’s width / height, any ideas?

Solved

entity.element.height = new value