Author Topic: Anchoring Issue  (Read 1422 times)

ZombieFrog

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Anchoring Issue
« on: March 14, 2014, 05:27:32 PM »
Just upgraded from 3.0.7 to 3.5.4.

Previously if I wanted a widget anchored bottom right, I change anchor type to Unified, set Left and Right to Right, Bottom and Top to Bottom and zero out the offsets. That placed the zero point of my widget in the bottom right corner (shown aligned with the purple line corner). I'd then add elements to that widget that make up my bottom right UI.

But now, changing anchoring as above, shows it offset from the corner, changes the size of the widget and offsets X and Y. Looks like screenshot included. Is this a bug or have I missed something?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Anchoring Issue
« Reply #1 on: March 14, 2014, 08:28:10 PM »
When your game window is hidden like yours, it's difficult to properly determine the dimensions. Unity reports different values for some things than it's supposed to. Make your game window visible alongside your scene view.

ZombieFrog

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Re: Anchoring Issue
« Reply #2 on: March 14, 2014, 10:39:39 PM »
That worked perfectly. Thanks!