Make UI fit perfectly into scrolling frame

Hey everyone, I’m making a shop. It is a scrolling frame, but depending on the screen size, it can look weird:

It looks like this, in studio (what I am trying to aim for):


How can I make the UI fit perfectly into the scrolling frame?

This is the hierarchy:
image

1 Like

I do not know how to fix this problem without a plugin, but I like using an Autoscale plugin to fix these problems. The plugin allows the GUI to be the same size on different-sized screens.

I recommend using UIGridLayout.

This worked, but I also had to use scale, instead of offset, for the frame’s Y-axis.