I have an issue with automatic canvas sizing, it is not changing the size of the canvas as it should do. Is there any other way to resize a canvas. I am using UIListLayout inside the scrolling frame…
I even tried this but still didn’t work
local function update()
local y = self.ScrlFrame.List.AbsoluteContentSize.Y
self.ScrlFrame.CanvasSize = UDim2.fromOffset(0,y)
end
self.ScrlFrame.List:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(update)
update()
umm it works now, I had forgot to parent the scrolling frame from nil to the screengui before using print(self.List.AbsoluteContentSize.Y) self.ScrlFrame.CanvasSize = UDim2.new(0.244, 0, 0, self.List.AbsoluteContentSize.Y)