ImageLabel size to Image's size tips

It’s a pretty common gripe if you wanted your ImageLabels to match your uploaded image’s size. Any tips to keep the sizes consistent/accurate?

1 Like

Make Toggle With Shift To Keep The Item Lock Or Maybe Make Sure The Image Isn’t To Big Or Small!

And If That Doesn’t Work Maybe Try Youtube!

What you want is to make sure your images size correctly on multiple devices. If you use a set number of pixels, it could be out of view when someone is playing on a mobile device such as a cellphone. If your ImageLabel isn’t something complex, I would suggest taking a look at How To Use SliceCenter.

You may want to try the followings:

  1. Use Enum.ScaleType.Fit
  2. Use UIAspectRatioConstraint

Ratio can be calculated by this equation:
XSize/YSize

1 Like