Skip to content

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

Description

@aharriscrowne

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions