I was wondering if it is possible to use a UIGridLayout for like items in your game, so the more items you get, it will use the scrolling frame to scroll down to see more items, I was able to KINDA get this to work, but the problem it has was that the uigridlayout didn’t extend the bottom of the frame like it is supposed to.
any helpful information on how to do this would be great!
UIGridLayout only reorganises your Gui elements, it does not change the properties of a ScrollingFrame. You will have to manually code this behaviour yourself by multiplying the number of elements in your frame by a specific value (i.e. if all your buttons have a Y-height of 55, then #ScrollingFrame:GetChildren() * 55) and then set that value as the Y value of CanvasSize.
Use UIGridLayout’s AbsoluteContentSize feature instead. Set the ScrollingFrame’s CanvasSize to this and it shouldn’t have any blank space and takes padding into account.
Oh my, excuse me. I was thinking of UIListLayout. The solution I provided you would’ve worked for UIListLayout, not UIGridLayout.
There is a AbsoluteContentSize property, with a code example that shows you what you can do to expand your ScrollingFrame to meet your grid. Try having a look.