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

method setPadding is not working #2

Open
lephukhanhhuy opened this issue Mar 11, 2015 · 0 comments
Open

method setPadding is not working #2

lephukhanhhuy opened this issue Mar 11, 2015 · 0 comments

Comments

@lephukhanhhuy
Copy link

Hello, I tried to change property pageScrollView.padding or use method setPadding but it was still not working. You are missing this line of code: _padding = padding;
So it should be:

- (void)setPadding:(CGFloat)padding {
    _padding = padding;
    [self reloadData];
}
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