Scrolling created buttons

Hello everyone,

So I have the UI setup like this…

alt text

Now the problem is how do i create x buttons and when the panel gets full it starts to make it scrollable. Each button would have a diffrent symbol and purpose…

I tried setting it up simmilar to how i would scroll a text with a masked image, but with added content sized panel and inside the panel a button. But it doesn’t seem to work…

alt text

Best solution here is to make it scrollable from the start, only increase the size of the box as new items come in.

You could lock the elasticity of the scroll if the box is smaller than the width of the screen but I would not even bother about this. If you move a scroll rect that is smaller than the screen it automatically gets back to initial position.