Author Topic: Scroll view with buttons? Possible?  (Read 1793 times)

pad406

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 62
    • View Profile
Scroll view with buttons? Possible?
« on: February 25, 2014, 12:25:55 PM »
Is is possible to have a scroll view with buttons. basically I have a scroll view which has multiple labels within it containing text. These are results of a search query. I want to be able to click on any of these in order to jump to that section. But, not matter what way I do it (and I freely admit it may be the way I am doing it), once I add the button script and collider, the scroll view stops working when I am over the text (now button), once I am in the gap between it works fine.
thanks
Paul

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Scroll view with buttons? Possible?
« Reply #1 on: February 25, 2014, 12:37:23 PM »
You need to add the UIDragScrollView script to your buttons as well.

pad406

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 62
    • View Profile
Re: Scroll view with buttons? Possible?
« Reply #2 on: February 25, 2014, 12:45:08 PM »
Perfect, thank you!!!