Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS: Update collection view layout for a better looking grid #1151

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

yoshisuga
Copy link
Contributor

@yoshisuga yoshisuga commented Nov 28, 2021

The Games list screen had some wasted space in the middle, where the items would be pinned to the leading and trailing edges of the collection view.

Updated to use the UICollectionView compositional layout API to better support a grid layout. It also supports iPad using the trait collections/size class. This API however requires iOS 13. (PR: jpd002/Play-Dependencies#29)

Also updated the collection view cell to use auto layout constraints for the label.

IMG_A46E73920780-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant