code: @Override protected void initGraphics() {
          super.initGraphics();
  
          graphicListener = (o, ov, nv) -> { if (nv != null) { graphicContainer.getChildren().setAll(tile.getGraphic()); }};
  
          titleText = new Text();
          titleText.setFill(tile.getTitleColor());
          Helper.enableNode(titleText, !tile.getTitle().isEmpty());
  
          text = new Text(tile.getText());
          text.setFill(tile.getTextColor());
          Helper.enableNode(text, tile.isTextVisible());
  
          graphicContainer = new StackPane();
          graphicContainer.setMinSize(size * 0.9, tile.isTextVisible() ? size * 0.72 : size * 0.795);
          graphicContainer.setMaxSize(size * 0.9, tile.isTextVisible() ? size * 0.72 : size * 0.795);
          graphicContainer.setPrefSize(size * 0.9, tile.isTextVisible() ? size * 0.72 : size * 0.795);
          if (null != tile.getGraphic()) graphicContainer.getChildren().setAll(tile.getGraphic());
  
          getPane().getChildren().addAll(titleText, graphicContainer, text);
      }
docs: ******************** Initialization ************************************