Scrolling frame is cutting off?

So I have a scrolling frame, and I do not know how to resize the scrolling part, this causes the things inside to become unseeable, any help?

2 Likes

To change the canvasā€™ height (scrollbar) you can modify the ā€œCanvasSizeā€ property which ia UDim2 value.
People generally scale it based on content by adding up all the items and applying it to CanvasHeight, though.

4 Likes

This resizes the buttons, and the buttons are cloned locally and parented.

1 Like

It resizes the button becauses you are using scale while inside a scrolling frame. This is expected behavior, you should use pixels rather than scale.

1 Like

Im confused, I donā€™t really know what that means.

1 Like

UDim2 allows you to specify offset and scale for both X, Y.
Scale is relative to the parentā€™s size/position.
Offset (pixels) allows you to specify a set amount of pixels to use, which wonā€™t scale with the parentā€™s size (scrolling frameā€™s canvas.)

If you use scale inside a scrolling frame, itā€™ll try to scale up relative to the scrolling frameā€™s size (which is CanvasSize.)
Youā€™ll want to specify offset for your itemā€™s height so that it wonā€™t change when you resize the CanvasSize.

3 Likes

I still do not understand, I am very sorry.

1 Like

Search under properties of the scrolling frame for ā€˜canvas sizeā€™ try to play with the numbers, you should see a different result then.