Ok so i made a game i just want to scale how much you can scroll down in the scrolling frame as the shop, here is a screenshot:
idk if that leads to a download of the picture or just displays is lol
Ok so i made a game i just want to scale how much you can scroll down in the scrolling frame as the shop, here is a screenshot:
idk if that leads to a download of the picture or just displays is lol
As stated I won't click the link BUT an answer to your question:
if you have a ui list layout it may be helpful
local Yscale = 0
for i,v in pairs(scrollingFrame:GetChildren()) do
Yscale = Yscale + v.Size.Y.Scale -- scale is recommended for screen guis
end
scrollingFrame.CanvasSize = Udim2.new(1,0,Yscale,0)
If that isnt what you are looking for then the closest I can tell you is canvas size. This property will set how far you can scroll on the frame.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
not gonna paste the link, use something more reliable. Example of a more reliable link for images is gyazo.