Author Topic: Scroll list of checkboxes?  (Read 2602 times)

cometeor

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Scroll list of checkboxes?
« 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?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Scroll list of checkboxes?
« Reply #1 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.

wesww

  • Guest
Re: Scroll list of checkboxes?
« Reply #2 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.

wesww

  • Guest
Re: Scroll list of checkboxes?
« Reply #3 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!