docs: @Override protected void resize() {
          double width  = gauge.getWidth() - gauge.getInsets().getLeft() - gauge.getInsets().getRight();
          double height = gauge.getHeight() - gauge.getInsets().getTop() - gauge.getInsets().getBottom();
          size          = width < height ? width : height;
  
          if (width > 0 && height > 0) {
              pane.setMaxSize(size, size);
              pane.relocate((width - size) * 0.5, (height - size) * 0.5);
  
              center   = size * 0.5;
              barWidth = size * 0.06;
  
              backgroundCanvas.setWidth(size);
              backgroundCanvas.setHeight(size);
  
              barCanvas.setWidth(size);
              barCanvas.setHeight(size);
  
              valueBkgText.setFont(Fonts.digital(0.18 * size));
              valueBkgText.setY(center + (valueBkgText.getLayoutBounds().getHeight() * 0.5));
  
              valueText.setFont(Fonts.digital(0.18 * size));
              valueText.setY(center + (valueText.getLayoutBounds().getHeight() * 0.5));
  
              drawBackground();
              setBar(gauge.getCurrentValue());
          }
      }