I was told by my very helpful friend that in order to make the ScrollingFrameBigger I can use this code:
local ScrollingFrame = script.Parent
local UIListLayout = ScrollingFrame.UIListLayout
UIListLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function():()
local AbsoluteContentSize = UIListLayout.AbsoluteContentSize
ScrollingFrame.AbsoluteSize = UDim2.new(1,0,0,AbsoluteContentSize.Y)
end)
But I’m getting this error:
Can anyone help?
2 Likes
7eoeb
(beoe7)
2
Who told you to set AbsoluteSize? They must have been trolling
1 Like
Dude leave me alone.
WTH do you want from me?
1 Like
7eoeb
(beoe7)
5
I’m not sure? I just think you can’t do that. I don’t know 100% of what you are trying to do
Try setting the size property, I believe the AbsoluteSize property is for checking the actual size of something. I hope this helps 
patopro77
(patopro77)
7
AbsoluteSize is read only, you cant change it
idk if this would work
local ScrollingFrame = script.Parent
local UIListLayout = ScrollingFrame.UIListLayout
UIListLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function():()
local AbsoluteContentSize = UIListLayout.AbsoluteContentSize
ScrollingFrame.Size = UDim2.new(1,0,0,AbsoluteContentSize.Y)
end)
system
(system)
Closed
8
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.