Nevron Forum

Gauges: Centre spindle of radial gauge does not resize when the gauge is resized

https://www.nevron.com/Forum/Topic9449.aspx

By Kevin Harrison 1 - Thursday, November 5, 2015

So it begins to dominate the gauge when it becomes small. Is there any way around this?
Thanks
Kevin
By Nevron Support - Friday, November 6, 2015

Hi Kevin,
You can use a size relative to the containing panel size:

gauge.CapStyle.Size = new Nevron.GraphicsCore.NSizeL(new NLength(10, NRelativeUnit.ParentPercentage), new NLength(10, NRelativeUnit.ParentPercentage));

This for example applies a cap size which is 10 percent from the containing panel averaged width / height.