public override void OnGaugeScalingChanged() { // change dimensions of window bounds.width = NanoGauges.configuration.horizontalGaugeWidth; bounds.height = NanoGauges.configuration.horizontalGaugeHeight; // //change dimensions of skin and scale skinBounds.width = NanoGauges.configuration.horizontalGaugeWidth; skinBounds.height = NanoGauges.configuration.horizontalGaugeHeight; // // change flags limitFlag.ScaleTo(NanoGauges.configuration.gaugeScaling); offFlag.ScaleTo(NanoGauges.configuration.gaugeScaling); }