PZCircularControl icon indicating copy to clipboard operation
PZCircularControl copied to clipboard

It seems that the innerBackground is not adapting to the circular bar’s barWidth.

Open Icelightwwwwww opened this issue 4 years ago • 3 comments

When innerBackgroundColor isn’t clear color, innerBackground will get overlapped to the circular bar if the barWidth is larger than 10.0, and there’ll be some space between the bar and the innerBackground filled circle if the barWidth is smaller than 10.0. It seems that the innerBackground is not adapting to the circular bar. Of course everything works fine if the innerBackgroundColor is .clear, but if it’s not, it seems that I need to set the barWidth fixed to 10.0.

Icelightwwwwww avatar Nov 10 '21 16:11 Icelightwwwwww

I need some help investigating this. Can't reproduce what you're talking about. Do you have an example project?

philptr avatar Nov 13 '21 03:11 philptr

This is when the barWidth is 10: A0D48D4C-5AB6-43A0-B7C9-6435D80CF1DD This is when the barWidth is 5: 542294CA-41BD-4A4D-A592-D47C60E963DE This is when the barWidth is 14: F4A0FFB7-8132-40A3-AAC2-2C0EEBC33558 There’s some space between the outer circular progress bar and the inner Circle. Apparently the overlapped innerBackground (barWidth > 10) looks fine and I(not only me) am expecting that PZCircularcontrol works the same when the barWidth is under 10. I mean, it’ll be better if there’re no space between them. Btw PZCircularControl is a really good module and I like it very much. Thanks for maintaining this~

Icelightwwwwww avatar Feb 15 '22 16:02 Icelightwwwwww

Hi, thanks for spotting this. Any chance you're able to work on it? I don't have the capacity at the moment, so would be helpful in getting the change in quicker. I can investigate this myself most likely in a week.

philptr avatar Mar 06 '22 17:03 philptr