yannickl/YLProgressBar

There is a white gap between border to progress bar

Closed this issue · 1 comments

I created the progress bar from storyboard, I change the UIView class to YLProgressBar. and then set the color in viewDidLoad().

progressBar.progressTintColor = UIColor.magentaColor()
progressBar.trackTintColor = UIColor.whiteColor()
progressBar.type = YLProgressBarType.Rounded
progressBar.stripesOrientation = YLProgressBarStripesOrientation.Vertical
![Uploading iOS Simulator Screen Shot Apr 12, 2015, 12.49.58.png . . .]()

progressBar.stripesDirection = YLProgressBarStripesDirection.Left

But there is a gap on the left, as you can see from pic below
ios

Hi,

You can change the value of the progressBarInset property if you don't want this behaviour. By default there is a 1px inset.

Best