Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: cometeor on April 26, 2012, 01:10:34 AM

Title: Scroll list of checkboxes?
Post by: cometeor on April 26, 2012, 01:10:34 AM
I'm gonna make a scroll list which each item can keep pressed state, checkbox seems the way to go, but after I add checkbox into the scroll list, it doesn't receive any event like hover, click, etc. Is there any alternate way?
Title: Re: Scroll list of checkboxes?
Post by: ArenMook on April 26, 2012, 01:56:41 AM
Make sure its collider has been updated (NGUI menu -> Add Collider on it), and that the collider is not covered by something else. There is no reason for it to not receive events.
Title: Re: Scroll list of checkboxes?
Post by: wesww on July 13, 2012, 02:47:50 PM
I also created a scroll list of checkboxes. My checkbox works fine until I put it into the scroll list, at which point it does not respond until the scroll list is repositioned. So for example if I click on a check box and then drag the list it shows that it did indeed receive the check.

This is makes NGUI useless for me unless I can find a workaround that will allow a checkbox to refresh within a scroll list without the user having to drag the list slightly.
Title: Re: Scroll list of checkboxes?
Post by: wesww on July 13, 2012, 02:52:54 PM
aha! The answer was at the end of this thread: http://www.tasharen.com/forum/index.php?topic=1000.15

So it just has to do with the "Static" checkbox in the inspector!