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.