Author Topic: Cannot attach a new UIScrollBar to UIDraggablePanel while game is running  (Read 3661 times)

loikkjon

  • Guest
I created a scroll view and attached a scrollbar to it as described in (http://www.tasharen.com/?page_id=4444). This works fine. Now if I do the following:
- start up the game
- duplicate the original scrollbar
- attach the new scrollbar to the existing UIDraggablePanel

The new scrollbar will get updated when the list is scrolled. You cannot scroll the list using the new scrollbar though. Is this a bug? How can I get around this?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
It should work just fine, assuming you've referenced the scroll bar on the UIDraggablePanel. I'd look closely at what's missing when comparing the two.

loikkjon

  • Guest
The scrollbars look identical at the inspector. After duplicating the second scrollbar I have just moved it a little so that the scrollbars aren't on top of each others.