Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: rextr on December 07, 2013, 07:02:22 PM

Title: Scroll View is not working on a modal (Ngui 3.0.7)
Post by: rextr on December 07, 2013, 07:02:22 PM
Hi,

I have a modal background with a big collider to prevent pressing buttons. Then, I open a dialog with a uidrag scroll view over the modal. But, scrolling does not work. I think the problem is related with the depth of my background sprite. When I set its depth to 0 (zero) it works. If it's larger than zero it does not work. I have increased the scrollviews depth big enough, still doesn't work.
Title: Re: Scroll View is not working on a modal (Ngui 3.0.7)
Post by: ArenMook on December 07, 2013, 08:17:26 PM
Scroll view panel needs to have a higher depth. Widget depths are relative to the panel now. If two panels share the same depth, one of them is randomly chosen to be in front.
Title: Re: Scroll View is not working on a modal (Ngui 3.0.7)
Post by: rextr on December 08, 2013, 06:02:29 AM
Thanks. The problem turned out to be my misuse of scroll view. I have solved it by making UIScrollView the child of UIDragScrollView.