How to set a limit of children in a scrollbox?

Thanks for that helps a lot