Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: vethan on July 09, 2012, 08:27:19 AM

Title: Clipping only happening after drag
Post by: vethan on July 09, 2012, 08:27:19 AM
I made a scrollview like this majig:

http://www.tasharen.com/?page_id=4444

But the clipping seems to only apply once the panel stops being dragged (Also, the softclip doesn't fade :() I bet these two are linked problems. Help plix!
Title: Re: Clipping only happening after drag
Post by: ArenMook on July 09, 2012, 10:39:34 AM
Eh? The quest log example has soft-clipped panel for text, and it's within a draggable window. Try it, drag it by the "NGUI" logo.
Title: Re: Clipping only happening after drag
Post by: vethan on July 25, 2012, 06:32:36 AM
Was having quite a few clipping problems, one of them I figured out though.

If you're Instantiating widgets in code, make sure you call AddWidget on the parent panel otherwise the clipping won't work!

That's me trying to help out anyone else who has a similar problem.