UIs stretching across Devices

I’m using Scale rather than offset so that UIs will scale across devices, but there’s one problem. I have a square button, but as the screen size changes it will no longer be a square. Is there any way to scale it across devices while always keeping it as a square?

Use a UIAspectRatioConstraint to fix that.

2 Likes

Like 4667hp mentioned, an aspectratiocontrainst would work but i think a uisizeconstraint would too

1 Like

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