How to autoscale Gui and keep the Offset?

Hello! I have a question about the guis. So, I wanted to make my gui automatically scale, based on the device, player is on. And the every single topic I read is about changing the size of gui from offset to scale. But in my case(where I’m using ListLayout and ScrollingFrame), it much simplier to make size of the frame be offset. And I’m really interested, how to make gui make scale, based on the device, using offset and script? I tried some stuff, but it wasn’t working really well, so I’m looking for the great solution, which will atleast work.

So, thank’s for reading, if understood me(which is kinda hard actually), please help, I will be really gratefull, and Goodbye!

1 Like

You would have to use scale for everything instead of offset.

However, you can add a UIAspectRatioConstraint which is very useful in that case. The aspect ratio constraint will keep a certain size ratio that you give it. Read more about it here

1 Like

Oh, thanks dude, it pretty much helped me!

1 Like