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

StackView needs custom activateSuperviewHuggingConstraints when using custom stack view spacing #49

Open
aharriscrowne opened this issue Dec 12, 2018 · 0 comments

Comments

@aharriscrowne
Copy link

Perhaps there is another intended way to do this, but if I set the .stackView.spacing property, the top of the stack view is still flush with the AutoScrollView instead of offset by the spacing amount which makes the layout look wrong. It looks like simply passing the stack view spacing property as a edge inset to activateSuperviewHuggingConstraints in commonInit() on line 130 of StackViewContainer might do the trick

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

1 participant