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

Strange new frame at the first dot #25

Open
denisdbv opened this issue Jul 30, 2014 · 0 comments
Open

Strange new frame at the first dot #25

denisdbv opened this issue Jul 30, 2014 · 0 comments

Comments

@denisdbv
Copy link

I use this code:

self.pageControl = [[SMPageControl alloc] initWithFrame:CGRectMake(110, 496, 100, 10)];
self.pageControl.numberOfPages = 6;
self.pageControl.currentPage = 0;
// green point
[self.pageControl setPageIndicatorImage:[UIImage imageNamed:@"page-dot.png"]];
//white large point
[self.pageControl setCurrentPageIndicatorImage:[UIImage imageNamed:@"page-dot-current.png"]];

[self.pageControl setImage:[UIImage imageNamed:@"page-signup-dot.png"] forPage:5];
[self.pageControl setCurrentImage:[UIImage imageNamed:@"page-signup-dot-current.png"] forPage:5];

After run and scrolling, the first dot became a whitish border.
2014-07-30 09 01 50

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