AnyLumino
API referencelayout

HBox

Horizontal BoxPanel convenience wrapper.

Functions

constructor__init__(widgets=None, *, titles=None, keys=None, spacing=8, stretches=None, width='100%', height=420, resizable=True, scroll=False, scroll_x=None, scroll_y=None, child_min_width=None, child_min_height=None, fit_content=False) -> None
paramwidgetsChildInput
= None

Child widgets or keyed child mapping.

paramtitlesTitleInput
= None

Optional labels associated with children.

paramkeysIterable[str] | None
= None

Stable child keys for iterable widgets.

paramspacingint
= 8

Pixel spacing between children.

paramstretchesIterable[int] | None
= None

Lumino 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
= 420

Widget height. Numeric values use the shared anylumino size rules.

paramresizablebool
= True

Whether the panel receives a notebook-friendly resize handle.

paramscrollbool
= False

Enables horizontal scrolling by default.

paramscroll_xbool | None
= None

Explicit horizontal or vertical overflow controls.

paramscroll_ybool | None
= None

Explicit horizontal or vertical overflow controls.

paramchild_min_widthint | float | str | None
= None

Minimum child sizes used when scrolling is enabled.

paramchild_min_heightint | float | str | None
= None

Minimum child sizes used when scrolling is enabled.

paramfit_contentbool
= False

Returns

None

On this page