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 changing size when using AutoLayout #8

Closed herrernst closed 7 years ago

herrernst commented 10 years ago

after changing values which influence size, call invalidateIntrinsicContentSize so AutoLayout will use new size

mjq commented 9 years ago

+1 for this. Encountered this bug today and can confirm that this patch fixes it.

herrernst commented 7 years ago

Thanks, better late than never ;)

nicklockwood commented 7 years ago

@herrernst ¯\_(ツ)_/¯

herrernst commented 7 years ago

If the other changes are good (haven't looked at them), would you mind issuing a new release (i. e. increase version number), so we can get those changes via Cocoapods? Thanks.