Nevron Forum

Gauges: How do I add an NStateIndicatorPanel whose position and size stay consistent as the gauge is resized?

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

By Kevin Harrison 1 - Monday, November 16, 2015

The Car Dashboard example StateIndicators do not resize as the Gauge is resized and the position of the indicators move relative to the rest of the gauge. How can I fix their relative position within the gauge and resize them as the gauge is resized?
Thanks
Kevin
By Nevron Support - Monday, November 16, 2015

Hi Kevin,
The state indicators use a model point anchor - in the case of the dashboard it is attached to 100% of the parent width and 60pt away from the ruler. You can implement your own anchor or reposition the state indicator on resize using code.