UI Grid Layout not working properly?

Im trying to figure out how I can get each object to be the same size on every screen inside the ui grid layout while still being square. My idea was to use Aspect Ratio Constraints but that made it align weirdly. The squares are meant to be in the bottom right.


Issue:
image


Grid Layout:


As you can see, the vertical alignment is set to Bottom however its still visibly in the center. Anchor point did nothing.


Aspect Ratio Constraint (Parented to the white square):
image

Edit: Clarification

Edit: I fixed it by simply placing the aspect ration constraint within the ui grid layout.

3 Likes