Skip to content

Can't content Content rectransform of Grid scroll at Upper Center #14

Answered by Brian-Jiang
hieutran196 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hieutran196
Comment options

Answer selected by Brian-Jiang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants