Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Strange Problem/Question About ScrollingFrames (?)

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:

https://bit.ly/2TwutIx

idk if that leads to a download of the picture or just displays is lol

1 comment

0

not gonna paste the link, use something more reliable. Example of a more reliable link for images is gyazo.

1 answer

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.