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

when the item count is 0 it align to center #23

Closed
yildirimatcioglu opened this issue Mar 30, 2021 · 1 comment
Closed

when the item count is 0 it align to center #23

yildirimatcioglu opened this issue Mar 30, 2021 · 1 comment

Comments

@yildirimatcioglu
Copy link

Hello, I have a question about the layout. When item count is zero grid align to center. How to align it to leading?
image:
Simulator Screen Shot - iPhone 12 - 2021-03-30 at 23 48 59

when count is not zero it is like this:
Simulator Screen Shot - iPhone 12 - 2021-03-31 at 00 07 26

@denis-obukhov
Copy link
Collaborator

Have a try .gridContentAlignment modifier in the new v1.4.0

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

No branches or pull requests

2 participants