edifice.HBoxView#
- class edifice.HBoxView(**kwargs)[source]#
Bases:
_LinearView
[QWidget
]Horizontal row layout view for child elements.
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
with HBoxView(): Label(text="Hello") Label(text="World")
Methods
__init__
(**kwargs)register_ref
(reference)Registers provided
Reference
to this Element.set_key
(key)Set the key of an
Element
.Attributes
children
The children of this Element.
props
The props of this Element.
underlying
The underlying QWidget, which may not exist if this Element has not rendered.