Widget panes

Some widgets are designed specifically to be container widgets that hold other widgets. These widgets are called panes.
Figure 32.   Pane hierarchy in the widget tree
Image
The screen capture shows the pane hierarchy in the widget tree and on the Graphic Editor canvas. Different types of panes provide different functions.

Types of panes

Type of pane Description
CanvasPane This pane is used for absolute positioning.
BorderPane This pane is used to wrap one widget and provide margin, border, and padding similar to the CSS box model.
ScrollPane This pane supports a single child that may have a preferred size larger than the available bounds. The scroll pane provides a set of scroll bars for viewing areas of the child widget that go outside of its bounds.