Author Topic: Clipping only happening after drag  (Read 3105 times)

vethan

  • Guest
Clipping only happening after drag
« 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!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Clipping only happening after drag
« Reply #1 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.

vethan

  • Guest
Re: Clipping only happening after drag
« Reply #2 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.