Help Autoscaling UIListLayout and it's contents

Hello DevFourm, I have recently encountered a problem with scaling my UIListLayout in my upgrades window for my game. When testing the UI on a smaller screen, the UIListLayout spacing expands beyond the frame, and off the screen.

This is how I want it to look:

This is how it looks on a smaller screen:

Any help is appreciated!
Thank you :slight_smile:

I would recommend making the main frame a scrolling frame, so if it does go off screen, they can scroll to see the items, the alternative would be re scaling them, but then the items might be too small.

So best option is use a scrolling frame.
A little tip is set the canvas size to {0,0}, {0,0}, and then set the AutomaticCanvasSize property to Y.
This will make the scrolling frame automatically adapt to the items in the scrolling frame so you can see all of them!

Hope this helps :3

Wow, never thought about that :laughing:

Thank you for the help!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.