Author Topic: Fix Panel Offset  (Read 3036 times)

Quel

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 11
    • View Profile
Fix Panel Offset
« on: May 05, 2015, 03:36:23 AM »
Easy and quick question.

I have a UIPanel correctly adjusted to desired position. But when I run de app, NGUI decides by its own that it maybe looks better in other position. So it changes the values of UIPanel.offset and spoil it all.

I need to force UIPanel.Offset to [0,0]. How can do that ?
Otherwise how can I prevent UIPanel to change that value without a reason ?

Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Fix Panel Offset
« Reply #1 on: May 05, 2015, 10:29:30 PM »
Right-click the scroll view, reset clipping position.