protected void resize() {
        width  = tile.getWidth() - tile.getInsets().getLeft() - tile.getInsets().getRight();
        height = tile.getHeight() - tile.getInsets().getTop() - tile.getInsets().getBottom();
        size   = clamp(0, Double.MAX_VALUE, width < height ? width : height);

        stepSize = width / range;
        shadow.setRadius(size * 0.012);

        inset       = size * 0.05;
        doubleInset = inset * 2;

        if (tile.isShowing() && width > 0 && height > 0) {
            //pane.setMaxSize(size, size);
            //pane.relocate((width - size) * 0.5, (height - size) * 0.5);

            double offsetTop    = tile.getTitle().isEmpty() ? inset : size * 0.15;
            double offsetBottom = (tile.getText().isEmpty() || !tile.isTextVisible()) ? height - inset : height - size * 0.15;
            contentBounds.setX(inset);
            contentBounds.setY(offsetTop);
            contentBounds.setWidth(width - doubleInset);
            contentBounds.setHeight(offsetBottom - offsetTop);

            contentCenterX = contentBounds.getX() + contentBounds.getWidth() * 0.5;
            contentCenterY = contentBounds.getY() + contentBounds.getHeight() * 0.5;

            pane.setMaxSize(width, height);
            pane.setPrefSize(width, height);

            if (backgroundImageView.isVisible()) {
                if (tile.getRoundedCorners()) {
                    Rectangle imgClip = new Rectangle(width, height);
                    imgClip.setArcWidth(clamp(0, Double.MAX_VALUE, inset));
                    imgClip.setArcHeight(clamp(0, Double.MAX_VALUE, inset));
                    backgroundImageView.setClip(imgClip);
                }
                backgroundImageView.setFitWidth(width);
                backgroundImageView.setFitHeight(height);
                backgroundImageView.setPreserveRatio(tile.getBackgroundImageKeepAspect());
                backgroundImageView.relocate((width - backgroundImageView.getLayoutBounds().getWidth()) * 0.5, (height - backgroundImageView.getLayoutBounds().getHeight()) * 0.5);
            }

            double regionSize = size * 0.105;
            notifyRegion.setPrefSize(regionSize, regionSize);
            notifyRegion.relocate(width - regionSize, 0);

            infoRegion.setPrefSize(regionSize, regionSize);
            infoRegion.relocate(0, 0);

            lowerRightRegion.setPrefSize(regionSize, regionSize);
            lowerRightRegion.relocate(width - regionSize, height - regionSize);

            resizeStaticText();
            resizeDynamicText();
        }
    }
Adds a listener to the content bounds area.
Keep in mind that you can only add a listener to the bounds if the skin property is set
in the control.
src/main/java/eu/hansolo/tilesfx/skins/TileSkin.java