nicklockwood / FXPageControl

Simple, drop-in replacement for the iPhone UIPageControl that allows customisation of the dot colour, size and spacing.
Other
298 stars 69 forks source link

Fix display if selected dot is bigger than regular one #22

Closed bivant closed 7 months ago

bivant commented 5 years ago

Clip on edges, overlap at middle positions.

    self.pageControl2.selectedDotSize = 25.0;
    self.pageControl2.dotSpacing = 10.0;

Before (example app) : Current_left Current_center

After: Fixed_left Fixed_center

nicklockwood commented 7 months ago

Thanks! And sorry for the extremely delayed merge