docs: @Override protected void resizeDynamicText() {
          double maxWidth = unitText.isManaged() ? width - size * 0.275 : width - size * 0.1;
          double fontSize = size * 0.24;
          valueText.setFont(Fonts.latoRegular(fontSize));
          if (valueText.getLayoutBounds().getWidth() > maxWidth) { Helper.adjustTextSize(valueText, maxWidth, fontSize); }
  
          fontSize = size * 0.1;
          unitText.setFont(Fonts.latoRegular(fontSize));
          if (unitText.getLayoutBounds().getWidth() > maxWidth) { Helper.adjustTextSize(unitText, maxWidth, fontSize); }
  
          thresholdText.setFill(sectionsVisible ? Color.TRANSPARENT : tile.getBackgroundColor());
          if (!sectionsVisible) {
              fontSize = size * 0.08;
              thresholdText.setFont(Fonts.latoRegular(fontSize));
              thresholdText.setTextOrigin(VPos.CENTER);
              if (thresholdText.getLayoutBounds().getWidth() > maxWidth) { Helper.adjustTextSize(thresholdText, maxWidth, fontSize); }
              thresholdText.setX((width - thresholdText.getLayoutBounds().getWidth()) * 0.5);
              thresholdText.setY(thresholdRect.getLayoutBounds().getMinY() + thresholdRect.getHeight() * 0.5);
          }
      }