Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: mr.decency on March 30, 2014, 06:50:46 AM
-
Hi,
I have a UIScrollView containing a label, which has its text changed regularly. The label is set to ResizeHeight. After I change the text the scrolling area still scrolls only the distance of the previous height if I use the mouse wheel or the scroll bar I've set up on the side. If I click and drag on the text, it will move the entire distance and when I let go, Update the scroll bar correctly.
Is there anyway to update this in code after I change the text?
-
Call UIScrollView.UpdatePosition()
-
That'll do it. thanks ;D