Can't content Content rectransform of Grid scroll at Upper Center #14
Answered
by
Brian-Jiang
hieutran196
asked this question in
Q&A
-
First of all, thank you for your great asset! |
Beta Was this translation helpful? Give feedback.
Answered by
Brian-Jiang
Jan 9, 2022
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Brian-Jiang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Unfortunately, I used the anchored position of content to calculate first row and column that's being displayed, so it needs to be at upper left. However, you can create another "holder" object as child of ScrollView and parent of Viewport, then you can set that to center (but you can't set "auto hide and expand viewport" to both scrollbar visibility property in scroll view. I'll consider adding a setting so you can easily create items at center in next version. Thanks for your support, hope this can help.