Skip to content

ATPagingView setGapBetweenPages found bug and fix, just add this code. #18

Description

@OlehKulykov
  1. When ATPagingView is created you applying scroll view frame like: "_scrollView.frame = [self frameForScrollView];"
  2. When you getting frame for the page using scrollView frame sizes.
    But if set gap (ofcource after creation ATPagingView) you don't change scrollView frame.
    So add "_scrollView.frame = [self frameForScrollView];" to method named: "- (void)setGapBetweenPages:(CGFloat)value"

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