Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: matt1 on July 04, 2014, 04:15:29 PM
-
Hi
I've been using the Text List to create a chatbox, similar to your example12.
my problem is, after I add a message it doesn't automatically scroll and show the new message, but your example does and I can't figure it out.
If i hit enter, the message gets added and i can only see it if I then click the chat box and scroll down. (kinda seems like it's upsidedown XD)
Many thanks
Matt
-
Did you change the style to be "Chat"?
-
Thanks, can't beleive I missed that!
I've got another problem, I can't figure out how to link a scroll wheel to the textlist, I can't find a property that allows me to scroll the text up/down, only support mouse wheel.
The only way I can think of doing it would be:
Textlist.scrollValue = Scrollwheel.scrollValue;
Thanks!
-
UITextList.scrollValue
You can link it to the scroll bar's value via a PropertyBinding if you like.