ScrollPane displays a scrollbars to scroll its content child. If the ScrollPane is smaller than the preferred size of the content child, then scrollbars are shown. If the ScrollPane is bigger than the preferred area, the content child will fill the available space.
Slots
- borderSource
-
const Bool border := true
Draw a border around the widget. Default is true. This field cannot be changed once the widget is constructed.
- hbarSource
-
readonly ScrollBar hbar
Horizontal scroll bar.
- makeSource
-
new make(|ScrollPane|? f := null)
Default constructor.
- onLayoutSource
-
override Void onLayout()
Overrides fwt::ContentPane.onLayout
Doc inherited from fwt::Pane.onLayout
Handle the layout event by setting the bounds on all children.
- vbarSource
-
readonly ScrollBar vbar
Vertical scroll bar.