Author Topic: When I use scrollview resetposition, scrollview move that not my intend.  (Read 227 times)

lsh7fish

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
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!