edifice.VBoxView#
- class edifice.VBoxView(**kwargs)[source]#
Bases:
_LinearView[QWidget]Vertical column layout view for child elements.
This is the basic layout element which behaves like an HTML div.
Underlying Qt Widget QWidget
Underlying Qt Layout QVBoxLayout
Content that does not fit into the VBoxView layout will be clipped. To allow scrolling in case of overflow, use
VScrollView.Props
All props from
QtWidgetElement.Usage
Example#with VBoxView(): 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.