@Override
  protected void layoutChildren() {
    super.layoutChildren();

    Insets insets = getInsets();
    double w = getWidth();
    double h = getHeight();
    final double prefWidth = verticalScrollBar.prefWidth(-1);
    verticalScrollBar.resizeRelocate(
        w - prefWidth - insets.getRight(),
        insets.getTop(),
        prefWidth,
        h - insets.getTop() - insets.getBottom());

    final double prefHeight = horizontalScrollBar.prefHeight(-1);
    horizontalScrollBar.resizeRelocate(
        insets.getLeft(),
        h - prefHeight - insets.getBottom(),
        w - insets.getLeft() - insets.getRight(),
        prefHeight);
  }
Creates a {@link ScrollPane} with {@code content}.

@param content to be shown inside of the {@link ScrollPane}
workbenchfx-core/src/main/java/com/dlsc/workbenchfx/view/controls/PrettyScrollPane.java