Dynamic ScrollingFrame with UIGridLayout Broken

The title basically says what i want to try do.
this is what i have tried

	local absoluteContentSize = petsScrolling.UIGridLayout.AbsoluteContentSize
	petsScrolling.CanvasSize = UDim2.new(0, 0, 0, absoluteContentSize.Y)

Did you Scale the UiGridLayout?

For example:
From this
image

To this
image

It’s a bit hard scale it, but it’s the only way I think

i dont scale the uiGridlayout its constantly as shown