Welcome,
Guest
. Please
login
or
register
.
June 09, 2026, 06:02:48 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Cannot attach a new UIScrollBar to UIDraggablePanel while game is running
« previous
next »
Print
Pages: [
1
]
Author
Topic: Cannot attach a new UIScrollBar to UIDraggablePanel while game is running (Read 3665 times)
loikkjon
Guest
Cannot attach a new UIScrollBar to UIDraggablePanel while game is running
«
on:
October 02, 2012, 05:03:06 AM »
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?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Cannot attach a new UIScrollBar to UIDraggablePanel while game is running
«
Reply #1 on:
October 02, 2012, 04:09:17 PM »
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.
Logged
loikkjon
Guest
Re: Cannot attach a new UIScrollBar to UIDraggablePanel while game is running
«
Reply #2 on:
October 03, 2012, 01:53:21 AM »
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.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Cannot attach a new UIScrollBar to UIDraggablePanel while game is running