Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Nacho on May 19, 2014, 01:59:34 AM

Title: Clipping children who have their own UIPanel
Post by: Nacho 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 (https://dl.dropboxusercontent.com/u/10309003/UI%20Panel%2001.jpg)). 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 (https://dl.dropboxusercontent.com/u/10309003/UIPanel%2002.jpg)).

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

Thanks in advance!

Cheers,
Title: Re: Clipping children who have their own UIPanel
Post by: ArenMook on May 19, 2014, 01:06:31 PM
What version of NGUI? Nested clipping is a fairly recent addition.
Title: Re: Clipping children who have their own UIPanel
Post by: Nacho 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