AnyLumino
API referenceastryxlayout

ScrollBox

Astryx scrollable area holding a vertical stack of children.

Functions

constructor__init__(children=None, *, titles=None, keys=None, axis='block', label='Scrollable content', gap=2, padding=None, width=None, height=320, max_width=None, min_height=None, **props) -> None
paramchildrenChildInput
= None

Child widgets or keyed child mapping.

paramtitlesTitleInput
= None

Optional labels associated with children.

paramkeysIterable[str] | None
= None

Stable child keys for iterable children.

paramaxisstr
= 'block'

Scroll axis, "block", "inline", or "both".

paramlabelstr
= 'Scrollable content'

Accessible name of the scroll viewport.

paramgapint | float
= 2

Astryx spacing step between children.

parampaddingint | float | None
= None

Content padding using the Astryx spacing scale.

paramwidthint | float | str | None
= None

Viewport width.

paramheightint | float | str | None
= 320

Viewport height.

parammax_widthint | float | str | None
= None

Maximum viewport width.

parammin_heightint | float | str | None
= None

Minimum viewport height.

parampropsAny
= {}

Returns

None

On this page