final String newValStr = useInt ? String.format(format,
newVal.intValue()) : String.format(format, newVal.floatValue());
if (gaugeDigits == null) {
gaugeDigits = new Digits(newValStr, 0.15f, onColor, offColor);
gaugeDigits.setEffect(new DropShadow());
HBox.setMargin(gaugeDigits, new Insets(0, 5, 0, 5));
//gaugeDigits.getTransforms().add(new Scale(0.2f, 0.2f, 0, 0));
gaugeDigits.valueProperty().addListener(new ChangeListener<String>() {
@Override
public void changed(ObservableValue<? extends String> observable,
String oldValue, String newValue) {