set scale of grid panel at runtime?

Hey!,

I have a grid panel which is going to be filled with an arbitrary number of buttons during runtime. They will be spread out down the centre of the screen.

The parent panel is a scroll box. Because I want to be able to scroll down the buttons after program is ran.

So what I wanted to do is automatically extend down the bottom border of the grid panel so that as before each button is added, the grid panel automatically extends downwards to house the next button.

So in short, I need a way in blueprints to set the grid panel y size. Somehow pinning the scale to the top of the grid panel.

Any advice would be great, thanks