Can UIGridLayout CellPadding be based on Size instead of CanvasSize in a ScrollingFrame?

I am trying to make a ScrollingFrame whilst using a UIGridLayout so if I had to add more Frames to the ScrollingFrame they would automatically get positioned and sized. However, as I am using Scale, it is basing the size of the CellPadding in respective to the CanvasSize instead of the Size. In my case, since I want the ScrollingFrame to be infinitely sized based on my needs, I cannot really calculate the CanvasSize which I need for the CellPaddings to always remain the same Size when I add more Frames within the ScrollingFrame.

TL:DR
Can UIGridLayout CellPadding be based on Size instead of CanvasSize in a ScrollingFrame?

Thanks.

2 Likes

Use a grid layout and put an aspect ratio as its child.

6 Likes