kaandedeoglu / KDCircularProgress

A circular progress view with gradients written in Swift
MIT License
1.21k stars 217 forks source link

How to remove the margin #21

Closed klwoon closed 8 years ago

klwoon commented 8 years ago

screen shot 2016-04-11 at 6 16 33 pm

May I ask how to remove the margin between the circle and the border (blue line of the square)? Thanks

klwoon commented 8 years ago

screen shot 2016-04-11 at 6 31 51 pm Currently I'm fixing the height, and adjust the aspect ratio so that the circle touches the border. Please let me know if there's any better method. Thanks.

kaandedeoglu commented 8 years ago

I'm afraid there's always going to be some padding. It's added to make sure that glows don't get clipped. In the future, I might consider removing the padding when the .NoGlow is set for the glowMode property.

klwoon commented 8 years ago

Thanks! Much appreciated!