Author Topic: How to create Nested UIDraggablePanel  (Read 1643 times)

ankit khetrapal

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 16
    • View Profile
How to create Nested UIDraggablePanel
« on: July 30, 2013, 02:42:49 AM »
Hi NGUI Team,

How can i create Nested UIDraggablePanel, basically i want to have a draggable panel inside other draggable panel.

I know setting this up isn't hard, the tough part which i am stuck at is to make the elements of nested panel clamp inside the bounds of the head panel.

i will try and explain this more precisely, i want that when i drag the head panel contents, the nested panel elements should also move with them which is happening but i want them to stay visible only within the heap panel clipped area but they are even visible outside it.


Please check attached image for more refference