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

[AL] Padding should be used for centering items #923

Open
carldebilly opened this issue Nov 20, 2023 · 0 comments
Open

[AL] Padding should be used for centering items #923

carldebilly opened this issue Nov 20, 2023 · 0 comments
Assignees

Comments

@carldebilly
Copy link
Member

Playground: https://playgroundcanary.z19.web.core.windows.net/#012ea3b3

When setting a content as "centered", the padding should be used in the AutoLayout to calculate the center of the content. The optimizer is expecting this to behave exactly the same as the spacing set on the child item.

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