- What do you want to achieve? Keep it simple and clear!
I want my scrolling frame to change its canvas to the “AbsoluteCotnentSize” amount once it changes?.
- What is the issue? Include screenshots / videos if possible!
My issue is that. When a new frame gets added to my Scrolling Frame the canvas size goes crazy… Here a small clip showing you what i mean(Testing here)
Also. Heres my code im using to test:
wait(7)
script.Parent.UIListLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function()
script.Parent.CanvasSize = UDim2.new(script.Parent.UIListLayout.AbsoluteContentSize.X, 0, script.Parent.UIListLayout.AbsoluteContentSize.Y, 0)
end)
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I have been looking at the dev forum, scripting helpers + Youtube. But i cant seem to find a solution for my problem… Any help would be really appreciated. Because i have been having this problem for a while now