scrollable uniform grid panel

hey, i dynamically create buttons in a uniform grid box. how do i add a scrollable behavior when the number of buttons dont fit in anymore?
i tried to make the uniform grid panel a child of scrollbox but that doesnt work somehow.

thanks in advance!

solved. i made it from auto size to fill