I’m attempting to make the CanvasSize longer when a child is added, so it doesn’t have a maximum frame counter since I’m doing a log, but what’s the proper way of doing it? The method I’ve used does add on to the size, but it makes the text scale smaller then bigger repetitively, so I’m asking, what’s the best method of doing this? This is what it currently looks like and that I tested:
script.Parent.UIListLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
script.Parent.ChildAdded:Connect(function()
local newSize = script.Parent.UIListLayout.AbsoluteContentSize
script.Parent.CanvasSize = UDim2.new(0, 0, 0, newSize.Y + 10 + script.Parent.AbsoluteSize.Y)
end)
end)
while true do
local clone = script.Parent.Card:Clone()
clone.Parent = script.Parent
wait(.5)
end
How it looks like: https://gyazo.com/98cfb0c2fa21f6901cb0e8257cb84894