How to make ScrollingFrame Expand to fit elements inside of it?

I’m trying to make the canvas size of my scrolling frame expand or get smaller to how many items I have in it, how can I achieve this?

You’ll want to make the ScrollingFrame’s CanvasSize 0, 0, 0, UIGridLayout's AbsoluteContentSize.Y
That can be changed through the properties tab or a Script.

1 Like