private void layoutParts() {
    dialogPane.setFillWidth(true);
    dialogPane.getChildren().setAll(dialogHeader, dialogContentPane, dialogButtonBar);

    VBox.setVgrow(dialogContentPane, Priority.ALWAYS);

    dialogHeader.getChildren().setAll(dialogTitle);

    dialogTitle.setMaxWidth(Double.MAX_VALUE);
    dialogTitle.setWrapText(true);
    HBox.setHgrow(dialogTitle, Priority.ALWAYS);
    VBox.setVgrow(dialogTitle, Priority.NEVER);

    VBox.setVgrow(dialogButtonBar, Priority.NEVER);

    getChildren().add(dialogPane);
  }
Creates a new {@link DialogSkin} object for a corresponding {@link DialogControl}.

@param dialogControl the {@link DialogControl} for which this Skin is created
workbenchfx-core/src/main/java/com/dlsc/workbenchfx/view/controls/dialog/DialogSkin.java