We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for open sourcing this component.
I noticed that SMPageControl intrinsicContentSize does not behave like UIPageControl.
intrinsicContentSize
In particular, it returns UIViewNoIntrinsicMetric for the width whereas UIPageControl calculates a width based on the number of pages.
UIViewNoIntrinsicMetric
Without this, SMPageControl is not a drop in replacement for UIPageControl.
The text was updated successfully, but these errors were encountered:
I just fixed it in my fork: #29
Please let me know if it works fine for you. (it does for me, but... this fix seems like was almost too easy :)
Sorry, something went wrong.
No branches or pull requests
Thanks for open sourcing this component.
I noticed that SMPageControl
intrinsicContentSize
does not behave like UIPageControl.In particular, it returns
UIViewNoIntrinsicMetric
for the width whereas UIPageControl calculates a width based on the number of pages.Without this, SMPageControl is not a drop in replacement for UIPageControl.
The text was updated successfully, but these errors were encountered: