Skip to content

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

@OlehKulykov

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"

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