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

is it possible to show stationary number of dots as default? #41

Open
hungwei0331 opened this issue Aug 2, 2020 · 3 comments
Open

is it possible to show stationary number of dots as default? #41

hungwei0331 opened this issue Aug 2, 2020 · 3 comments

Comments

@hungwei0331
Copy link

hello, thanks for the amazing PageControl first,

I would like to ask,

when numberOfPages greater than displayCount

the default dots only display for 3 dots, others are hidden/clear color

is it possible to set always 5 dots?

it my config below

static let pageControlConfig = FlexiblePageControl.Config(
displayCount: 5,
dotSize: 6,
dotSpace: 4,
smallDotSizeRatio: 0.5,
mediumDotSizeRatio: 0.7
)

@jmuseyibli
Copy link

Hi, @hungwei0331! Did you find a solution to your case?

@hungwei0331
Copy link
Author

@jmuseyibli
this libary dispay page number start with -2 when itemCount >= displayCount
so I set displayCount to 7 work around

@jmuseyibli
Copy link

Thanks

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

2 participants