Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: lsh7fish on March 12, 2018, 09:21:40 PM

Title: When I use scrollview resetposition, scrollview move that not my intend.
Post by: lsh7fish on March 12, 2018, 09:21:40 PM
Hello. I usually use NGUI for ui work.
Especially, scrollview, grid and wrapcontents. They are very helpul.
But when I arrange them. They are move that my intend.
I made scrollview list. here is the struct.

Scrollview
 - wrapcontens, grid

And I call wrapcontens.AlpabaticallySort and Scrollview.resetposition.
Then when I call open my ui, scrollview postion move up.
I don't know why, when can I found arrangement relation between panel, scrollview, wrapcontents, grid.
Some help me!