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:
- Use Enum.ScaleType.Fit
- Use UIAspectRatioConstraint
Ratio can be calculated by this equation:
XSize/YSize
1 Like