Add padding to top items with UIGridLayout

Recently, I’ve been making a game, and I have a horizontal scroll bar. However, the UI elements at the top are clipped by the ScrollingFrame.


As you can see from the image, the tip can’t be seen. And when I style the UI elements later, this will be a huge problem. Is there any fix for this, anything I can do beside turning off ClipsDescendants?

You can try making the vertical size (or canvas size) of the ScrollingFrame larger. Or if you want it centered, set the Y alignment property of UIGridLayout to "Center.’

1 Like

Thanks! Setting it to center and then decreasing CanvasSize now has it so that the top and bottom elements stay inside!

1 Like