Frame doesn't scale properly for all devices, even if i use the scale mode instead of offset mode

Hello.
Recently, i tried to scale a Frame Properly for All Devices: Is tried to use AutoScale Lite, i also tried to scale my frame using a UiAspectRatioConstraint, I even tried changing the anchor point, but none of these methods work.

The issue is that, when i use the plugin to set the size and the position to the scale mode (instead of the offset mode), and then i change the screen resolution, well, it doesn’t scale properly:

1280x720:
image

1024x768:

So basically, i read 10+ devforum posts, i tried using a plugin with 2 different methods, i tried converting scales myself, i changed the anchor point, and none of these methods work.
I hope someone can help me and, Have a good day!

im assuming what you want is a frame where the borders are scaled equally?

unfortunately you can’t make the borders and the inside scale equally. for a UiAspectRatioConstraint it makes the inside scaled equally at the expense of the border not being scaled


notice here how the inside frame stays the same but the outside frame doesnt

you can get this effect by using a UIAspectRatioConstraint on the inside

However if you want borders to be a fixed width you need to set the Inside to be size {1, -2xwidth} {1,-2ywidth}
if xwidth is 25 and y width is 25 then the size is {1, -50} {1,-50}


heres an example of what that would look like