UI module

scroll

procedure · 1 overloadsince 0.31.0Source

A column whose content scrolls vertically (horizontally with axis = .HORIZONTAL) when it is larger than the space it is given. Give it grow = 1 or a fixed size.

scroll :: (
    style: Style = .{},
    axis: Axis = .VERTICAL,
    loc := #caller_location
) -> Container

A column whose content scrolls vertically (horizontally with axis = .HORIZONTAL) when it is larger than the space it is given. Give it grow = 1 or a fixed size.

Parameters

style: Style
layout and paint options for the container.
axis: Axis
the scrolling direction.
loc := #caller_location
the call site. It identifies the widget from one frame to the next, so leave the default.

Returns

See also