API referencelayout
ScrollBox
Scrollable vertical box for notebook-sized control panels.
Functions
constructor__init__(widgets=None, *, titles=None, keys=None, spacing=8, stretches=None, width='100%', height=420, resizable=True, scroll=True, scroll_x=None, scroll_y=None, child_min_width=None, child_min_height=None, fit_content=False) -> NoneparamwidgetsChildInput= NoneChild widgets or keyed child mapping.
paramtitlesTitleInput= NoneOptional labels associated with children.
paramkeysIterable[str] | None= NoneStable child keys for iterable widgets.
paramspacingint= 8Pixel spacing between children.
paramstretchesIterable[int] | None= NoneLumino stretch factors, one per child when provided.
paramwidthint | float | str | None= '100%'Widget width. Numeric values use the shared anylumino size rules.
paramheightint | float | str | None= 420Widget height. Numeric values use the shared anylumino size rules.
paramresizablebool= TrueWhether the panel receives a notebook-friendly resize handle.
paramscrollbool= TrueEnables vertical scrolling by default.
paramscroll_xbool | None= NoneExplicit horizontal or vertical overflow controls.
paramscroll_ybool | None= NoneExplicit horizontal or vertical overflow controls.
paramchild_min_widthint | float | str | None= NoneMinimum child sizes used when scrolling is enabled.
paramchild_min_heightint | float | str | None= NoneMinimum child sizes used when scrolling is enabled.
paramfit_contentbool= FalseReturns
None