withExpandBar

fun Node.withExpandBar(orientation: Orientation): Box

Adds a thin bar below this node. Dragging the bar changes the Node.overridePrefHeight of the node, therefore the node grows/shrinks.

Because VBox respects the minimum height, it is easy to set a minimum height.

This works well with a TextArea / StyledTextArea.