Making buttons scale with scrollview?

I have a scrollview, in it’s Content I have the components in this picture: a VLG and a Content size filter.
The buttons are dynamically added at runtime.

How can i make it so that the buttons resize to fit the whole scrollview? I tried a lot of components and settings but none seem to do the trick. Thanks!

Content Size Fitter adjusts the size of the object based on the children, while Vertical Layout Group adjust the size of the children based on the object.
They can work together in some scenarios though, like you describe.
86141-screen-shot-2017-01-17-at-221157.png