Author Topic: New Anchor System messes up sd / hd and phone / tablet switch  (Read 2001 times)

1dayitwillmake

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
New Anchor System messes up sd / hd and phone / tablet switch
« on: February 26, 2014, 11:37:44 AM »
The new anchor system has a lot going for it, however as shown in the videos it really seems to prefer to use absolute units.

You are able to set 'custom' and use relative units - however when you do that you must set TPLBR (Top / Left / Bottom / Right)
However while trying to set one setting, the object is constantly being resized for you - even if you set the other anchor targets to None (using advanced)

While using this mode, clicking snap will keep resizing the object instead (clicking on it a few times finally yields the correct size)
These are destructive changes, than mess up your anchors. You're constantly fighting with one, to undo the changes made by the other one.

In a lot of normal situations, you simply want to anchor the center of a sprite to some area of another sprite not resize it.
For example, if I select Unified, I can't set the center of my sprite to the center of another sprite, I have to fake it using TLBR. I can set my objects Left to anchor to the Center of it's anchor but not vise versa.

This is something the previous anchor system allows for easily. However I'm afraid of using it since it is marked as deprecated.
I guess my question is, how can I achieve that simpler functionality with the new system, and also how long more or less before the UIAnchor style is completely removed?

I will post a video later if that helps clear things up.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: New Anchor System messes up sd / hd and phone / tablet switch
« Reply #1 on: February 26, 2014, 02:23:21 PM »
I won't be removing UIAnchor anytime soon. It may be deprecated in favour of the new system but you can still use it if you like. I'll see about changing a few things in the new layout system in the near future. The key is figuring out a way to do it without breaking everything...

1dayitwillmake

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: New Anchor System messes up sd / hd and phone / tablet switch
« Reply #2 on: February 27, 2014, 12:36:20 AM »
I see, that makes sense - it is a new system after all!
Thanks for the reply, and of course... great work on all of this!