kentya6 / KYCircularProgress

Flexible progress bar written in Swift.
MIT License
1.15k stars 115 forks source link

Circle Offset #17

Closed niklas-hein closed 6 years ago

niklas-hein commented 7 years ago

I wanted to implement a gauge with that framework. I came across an issue where the circle was offset to the right.

gauges

I colored the frames of the label (which is centred) and the gauge itself. as you can see the circle is offset. In my implementation I did nothing else then setting the lineWidths and colours

kentya6 commented 7 years ago

Sorry for the late reply. Please configure width/height constraint your KYCircularProgressView. You can get correct layout.

kentya6 commented 6 years ago

If you still have problems, please reopen the issue.