AndreasHennig / ProgressRingPlugin

MIT License
64 stars 23 forks source link

Is there a way to set the Setting the Inside Color #12

Open primehalo opened 6 years ago

primehalo commented 6 years ago

Is there a way to set the inside color of the ring? Something like the backgroundColor, but when I set that it shows a square that goes outside of the ring. If there isn't a way to set this, could you add a way?

AndreasHennig commented 6 years ago

Good point - this isn't possible right now. But I'll try to add it in the next version.

JFDionne commented 6 years ago

@primehalo If you want a "workaround", I do it by using a round ShapeView and put the ProgressRing on it.

https://github.com/vincentgury/XFShapeView

<xfshapeview:ShapeView Padding="10" ShapeType="Circle" Opacity="1" IsVisible="True" BorderColor="Transparent" BorderWidth="0" Color="Gray" BackgroundColor="Transparent">

    <control:ProgressRing RingProgressColor="#3e3e3e" RingBaseColor="#1fbf3a" RingThickness="20" Progress="0" AnimationEasing="6" />

</xfshapeview:ShapeView>
primehalo commented 6 years ago

My workaround was first using a button that I into a circle, and then later I replaced that with a simple circle graphic.