UIAspectRatioConstraint messing up positioning

ISSUE:

AspectRatio is not positioning correctly. As it ends up moving in the Y-axis whenever I view it on a different device.


Example:
Screenshot 2024-03-30 141507

On seperate device:
Screenshot 2024-03-30 141515

The first image shows what it is intended to be, the second image shows the position being off


DETAILS:

Here are the properties of the UIAspectRatio:

AnchorPoint for the ImageLabel: (0.5, 0)


ATTEMPTS:

I did try using Fit for the ScaleType, but ended with the same issue.
And yes, I also did try messing around with AnchorPoint

Thanks!!!114

Try making the DominantAxis Height, making the anchor point (0.5,1), and the scale Y of position to 1 to always display at the bottom

I forgot to do that. since at first, I thought that DominantAxis was affecting the Size property and not the Position property. thanks

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