Author Topic: NGUI Panel Advanced Anchoring Issue  (Read 4215 times)

swogdog

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 3
    • View Profile
NGUI Panel Advanced Anchoring Issue
« on: January 08, 2016, 01:49:19 PM »
Heyoooo!

So I have a Widget Container with a Panel in it.  I set the Panel to Soft Clip, and choose Advanced for my anchoring.  I set the left and right sides to anchor to left and right sides of the container.  Once I do that, the Panel refuses to stay in place vertically.  It constantly shoots upward when I try to change the Size and Center in the Panel settings.  If I set anchoring to Unified, it stays put, but that won't work for my UI, I just need to anchor the sides only.

Anyone else having this issue?  It's happening for me in several instances, so it's either a bug or I'm doing something consistently incorrect.

Thanks!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI Panel Advanced Anchoring Issue
« Reply #1 on: January 09, 2016, 10:42:45 AM »
Change the widget's pivot to top-left. Keeping it centered isn't a good idea.