Skip to content

Update padding after the view is displayed #1

Description

@SylvainRX

Hello @levantAJ

Thanks for this pod. I have a suggestion to make :
When I try to change the padding once the view is displayed, the UI isn't updated.
To solve this, I suggest to add some didSets on the insets vars containing the following statements:
invalidateIntrinsicContentSize()
setNeedsDisplay()

Cheers

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions