Author Topic: Aspect ratio not considered  (Read 2132 times)

senpuria

  • Guest
Aspect ratio not considered
« on: December 14, 2012, 08:30:54 AM »
Hi,

The problem I'm having is that the height input for both automatic and manual in UIRoot does not take aspect ratio into consideration. The ortho's camera width does not extend to my sprite image width on a 16:10 ratio, and I imagine the problem exists for others.

I might be attempting to do it wrong, but either way, could you give me instructions on what to do about it?

Oh, and Depth occasionally doesn't work. I have to adjust the Z axis manually. It might be a Unity bug.

Cheers.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Aspect ratio not considered
« Reply #1 on: December 14, 2012, 07:45:31 PM »
Right, aspect ratio should never be considered or you'd get skewed UI if you design it on 4:3 then view it on 16:9, or if you go from landscape to portrait mode. Instead you should be using anchors. Check the first example.