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) -> NoneparamchildrenChildInput= NoneChild widgets or keyed child mapping.
paramtitlesTitleInput= NoneOptional labels associated with children.
paramkeysIterable[str] | None= NoneStable child keys for iterable children.
paramaxisstr= 'block'Scroll axis, "block", "inline", or "both".
paramlabelstr= 'Scrollable content'Accessible name of the scroll viewport.
paramgapint | float= 2Astryx spacing step between children.
parampaddingint | float | None= NoneContent padding using the Astryx spacing scale.
paramwidthint | float | str | None= NoneViewport width.
paramheightint | float | str | None= 320Viewport height.
parammax_widthint | float | str | None= NoneMaximum viewport width.
parammin_heightint | float | str | None= NoneMinimum viewport height.
parampropsAny= {}Returns
None