Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: rain on February 04, 2014, 12:19:26 PM
-
Hi!
I've encountered an issue where a ScrollView would not start in its intended position (0,0,0) but "scrolled down" by ~300 units, but only if a UIScrollBar is assigned to it.
What could be going wrong here?
Thanks in advance.
-
Sounds like may be the same, or very similar issue to what I was having. See this post http://www.tasharen.com/forum/index.php?topic=7899.0
-
I've read that topic, but changing the script execution order didn't fix it for me and also my panels aren't marked as static.
Thanks anyways!
-
Scroll view will attempt to move only if the children happen to lie outside of it, and are not taking advantage of the space within. So if your starting position has space on one side of the scroll view, and items extend past the border of another, then it will attempt to fix that. Can you post a pic of what your initial startup looks like in the scene view?
-
I got it fixed somehow by completely rearranging the anchoring of my widgets and the scrollview. Dunno what exactly did the job but whatevs, it works now. :D