Author Topic: 3.0.9f7 Anchor positioning issues  (Read 1498 times)

Quarkism

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 48
    • View Profile
3.0.9f7 Anchor positioning issues
« on: January 28, 2014, 02:44:52 PM »
Using 3.0.9f7

I`m having some anchoring issues with my UI. The UI positions correctly in the editor but when I build the project many objects are incorrectly positioned.

For instance :
  • I have a button anchored to the top left. In the build it is positioned near the center of the screen. When I re-size the screen it will snap to the correct location.
  • I have several 'widgets' (a complex control with many anchors and stretch behaviors. they typically include a scroll panel with a header, title, and close button - like a window's window). They are skewed all incorrectly in the build. If I play with the build-window size they will skew to all sorts of incorrect positions (though I can get it to look correctly... sometimes.

The solution includes a pretty deep hierarchy at times... though (as with the case with the top left button) not always. I`m not sure how to remedy the situation. I can post a gif if you like. Ill go now and play with it some more.


EDIT I`m using the old layout system. I am going to start a revision of my the solution....
« Last Edit: January 28, 2014, 03:03:29 PM by Quarkism »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: 3.0.9f7 Anchor positioning issues
« Reply #1 on: January 29, 2014, 09:59:30 AM »
Old layout system was never meant for anything complex. I suggest you switch to the new one whenever possible.