Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: carcaraS on July 25, 2013, 09:54:32 AM

Title: Clipping panel inside another clipping panel
Post by: carcaraS on July 25, 2013, 09:54:32 AM
Hello,

I have this problem,

I need a panel inside a another panel, and both have to be draggable and clipping.

When I drag one to up - down, it works. When I drag this same draggable object (clipping panel), it works too, BUT not clipping, and show outside of clipping area.

If you are confused, I upload photos.

Tks!
Title: Re: Clipping panel inside another clipping panel
Post by: ArenMook on July 26, 2013, 04:07:54 AM
Cant. Only one panel can clip. You cant nest clipping.
Title: Re: Clipping panel inside another clipping panel
Post by: carcaraS on July 26, 2013, 06:37:00 AM
So, have a way to improvise that "works"?
Title: Re: Clipping panel inside another clipping panel
Post by: Gregzo on July 26, 2013, 07:49:22 AM
I guess you could fake it using a mask. Doesn't work in every type of circumstance, but there you go.
Title: Re: Clipping panel inside another clipping panel
Post by: carcaraS on July 26, 2013, 08:04:43 AM
The ideal would be to have two panels. The idea of the mask did not work in my circumstance. I'll have to change my interface.
Maybe it would be good if the ngui supports it in future.

Thanks!