Author Topic: Scroll View inside a Scroll (any other way?)  (Read 2425 times)

NikSpace

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Scroll View inside a Scroll (any other way?)
« on: January 12, 2014, 07:06:46 PM »
Hi i had bought NGUI months now but i start using it now. and falling in love with it.

Any way, like the title says  i am trying to add a scroll in a scroll view. But because of the panels system the inside panel is not clipping in the other one.

I am trying to imitate the delete method like iOS call history or Messenger. 
Is another way doing this? like detecting a drag to the middle of the button? i can't thing anything else. 
I have an attachment of what i am facing.

Sorry if am posting on wrong thread. But i thought this is the best place to ask.
If request are not allowed please tell to delete the message.
Thank you for your time.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Scroll View inside a Scroll (any other way?)
« Reply #1 on: January 13, 2014, 06:20:32 PM »
You can't nest scroll views in NGUI. Only one panel can clip its children at a time.

You can achieve nested effect by using Stencil Buffers, but I can't provide you with much assistance on this at this time as the tutorial on how to do this is still on my TODO list. It would be an advanced functionality in any case.