UI not re-sizing

I modified this gauge “AC6C_Stock_Gauges”
image
My laptop is showing perfectly, but when my friend tested it, it did not re-sized according to the laptop’s resolution. This is what it is showing on her laptop.
image
Can someone help me fix this issue as I’m not good at UI alignments.

2 Likes

Can I see the size property for some of your elements?

1 Like

This is how everything is placed-

This is for where the BackFrame is placed-
image

This is the BackFrame (For Date & Time)-
image

This is for date-
image

This is for time-
image

This is for Speed-
image

This is for ABS-
image

This is for TCS-
image

This is for DrivingTime-
image

This is for ParkingBrake-
image

This is for timer-
image

This is for TMode-
image

This is for Gear-
image

This is for Kmph-
image

If you need for Gradient and White Line just let me know. Ignore the SpeedWarning thing because it’s not functional at the moment.
Tach, Speedo, Cluth and Boost I didn’t delete because without it, it wasn’t working.

1 Like

Ok the reason they arent scaling is cause for your size property you are using offset, you should use scale.

Scale is a percentage, offset is an amount of pixels (or some metric like that).
So if you wanted to use offset to scale you’d have to custom code a way to make it figure it out, scale on the other hand automatically scales cause its a percentage of its parent size basically, for instance if a frame is set to use 0.5 scale and its in a ScreenGui, its going to use 50% of the screens size.

If you want to convert Offset to scale you can use AutoScale lite, which is a plugin you can find in the toolbox.

Also cause some people get confused on which value is what, here is a demonstration of what the size property should look like (or a UDIM2)

size = {scaleX,offsetX,scaleY,offsetY}

I should really make a tutorial on what scale and offset is to help people lol

3 Likes

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