Hello,Ive been having this problem a lot recently with guis where they dont scale perfectly according to device i sent the images below ill do a quick breakdown.
I have a script that creates frames which are all children of a parent frame, and in each of the child frames theres a text button which allows the user to donate. The positions of the child frames are handled by a ui grid layout which is also a child of the parent frame.
The ui works perfectly fine on a huge monitor but not in a small screen. I tried using autoscale but it didnt work. Would be nice if someone showed me the solution to scale guis perfectly to all devices.
1 Like
There are a few ways you can do this:
- Use UIAspectRatioConstraint for different devices, you should use this method along with Autoscale Lite which is a UI scaling plugin. You have to convert everything inside the mainframe to “Scale” instead of “Offset” in size for this method, the Autoscale lite plugin provides a way to automatically convert them.
- A dynamic UIScaling script which in my opinion is way better than UIAspectRatioConstraint, you can learn about it from the tutorial below.
1 Like
He already said he tried autoscale and it didn’t work
Yes, he stated that he used AutoScale but did not mention UIAspectRatioConstraint, I also linked a tutorial below for dynamic UI scaling which should hopefully cover his request.
Yeah, it’s very tedious when you have to change it without autoscale lite