FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Indicator stroke color and width options by sgtsquiggs · Pull Request #27 · Spaceman-Labs/SMPageControl · GitHub

Indicator stroke color and width options - #27

Open
sgtsquiggs wants to merge 3 commits into
Spaceman-Labs:masterfrom
sgtsquiggs:feature/stroke_width
Open

Indicator stroke color and width options#27
sgtsquiggs wants to merge 3 commits into
Spaceman-Labs:masterfrom
sgtsquiggs:feature/stroke_width

Conversation

Copy link
Copy Markdown

Added options to define stroke color (thanks @orsharir) as well as stroke width. Allows the creation of simple hollowed out dots:

pageControl.indicatorDiameter = 5.0f;
pageControl.pageIndicatorTintColor = [UIColor clearColor];
pageControl.pageIndicatorTintStrokeColor = [UIColor whiteColor];
pageControl.pageIndicatorTintStrokeWidth = 0.5f;
pageControl.currentPageIndicatorTintColor = [UIColor whiteColor];

orsharir and others added 3 commits January 29, 2014 15:25
…ollowed dots.

Signed-off-by: Or Sharir <or@sharir.org>
Added ability to customize the stroke color of the dots. Allows for hollowed dots.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL