edifice.HBoxView#
- class edifice.HBoxView(**kwargs)[source]#
Bases:
_LinearView[QWidget]Horizontal row layout view for child elements.
Underlying Qt Widget QWidget
Underlying Qt Layout QHBoxLayout
Content that does not fit into the HBoxView layout will be clipped. To allow scrolling in case of overflow, use
HScrollView.Props
All props from
QtWidgetElement.Usage
Example#with HBoxView(): Label(text="Hello") Label(text="World")
Methods
__init__(**kwargs)register_ref(reference)Registers provided
Referenceto this Element.set_key(key)Set the key of an
Element.Attributes
childrenThe children of this Element.
propsThe props of this Element.
underlyingThe underlying QWidget, which may not exist if this Element has not rendered.