docs: private void resize() {
          width  = getWidth() - getInsets().getLeft() - getInsets().getRight();
          height = getHeight() - getInsets().getTop() - getInsets().getBottom();
          size   = parentWidth < parentHeight ? parentWidth : parentHeight;
  
          if (ASPECT_RATIO * width > height) {
              width = 1 / (ASPECT_RATIO / height);
          } else if (1 / (ASPECT_RATIO / height) > width) {
              height = ASPECT_RATIO * width;
          }
  
          if (width > 0 && height > 0) {
              //pane.setMaxSize(width, height);
              //pane.setPrefSize(width, height);
              
              pane.setMaxSize(parentWidth, height * 0.12);
              pane.setPrefSize(parentWidth, height * 0.12);
  
              drawTriangle();
              
              triangle.setLayoutX(size * 0.05);
              triangle.setLayoutY((height - triangle.getBoundsInLocal().getHeight()) * 0.25);
  
              nameText.setFont(Fonts.latoRegular(size * 0.06));
              nameText.setX(size * 0.12);
              nameText.setY(0);
  
              valueText.setFont(Fonts.latoRegular(size * 0.06));
              valueText.setX((parentWidth - size * 0.05) - valueText.getLayoutBounds().getWidth());
              valueText.setY(0);
  
              separator.setStartX(size * 0.05);
              separator.setStartY(size * 0.1);
              separator.setEndX(parentWidth - size * 0.05);
              separator.setEndY(size * 0.1);
  
              redraw();
          }
      }