Hello there, fellow developers. I need some help with scaling UIs. I need help to keep the UIs Aspect Constraint and keeping the UI’s border visible (I use UISizeConstraint to prevent it from scaling too small and I used UIBorder and UIStroke.)
Already use AutoScale to keep its Aspect Ratio but it shrinks to a very small size (I didn’t use UISizeConstraint) and the position changed while keeping its Aspect Ratio.
I dont know how can it change position, but without it you are unable to keep aspect ratio. You’re 100% doing something wrong. Check if frame’s position is set to {0.5, 0, 0.5, 0} and anchor point to 0.5, 0.5
Thank you so much for the reply it worked. Last question, what values do I need to apply on Anchor Point and Position if I want the UI Position to the Middle Left.