Author Topic: Clipping children who have their own UIPanel  (Read 3085 times)

Nacho

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 12
    • View Profile
Clipping children who have their own UIPanel
« on: May 19, 2014, 01:59:34 AM »
Hello. I ran into a problem with NGUI that I'm not quite sure how to fix. Let me explain: I have a UIPanel with "Soft Clip" settings. The panel contains a list of elements, which also contain their own UIPanel (see this image). Now, when I scroll the contents of the list, the widgets under the UIPanel that belong to the individual elements don't get clipped (see this other image).

I'm not sure how to fix this issue. Any ideas?

Thanks in advance!

Cheers,

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Clipping children who have their own UIPanel
« Reply #1 on: May 19, 2014, 01:06:31 PM »
What version of NGUI? Nested clipping is a fairly recent addition.

Nacho

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 12
    • View Profile
Re: Clipping children who have their own UIPanel
« Reply #2 on: May 21, 2014, 02:53:33 AM »
Thanks for your swift reply Aren. Yes, I was still using NGUI 2.7, so I guess it's time to upgrade to 3.

Cheers,

--Nacho