FlexiblePageControl icon indicating copy to clipboard operation
FlexiblePageControl copied to clipboard

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

Open hungwei0331 opened this issue 4 years ago • 3 comments

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 )

hungwei0331 avatar Aug 02 '20 14:08 hungwei0331

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

jmuseyibli avatar Feb 18 '21 21:02 jmuseyibli

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

hungwei0331 avatar Feb 22 '21 02:02 hungwei0331

Thanks

jmuseyibli avatar Feb 22 '21 12:02 jmuseyibli