LayoutItemMixin
Sub classes
| Name | Children | Inherits |
|---|---|---|
| LayoutItem prettyqt.widgets.layoutitem Abstract item that a QLayout manipulates. |
||
| WidgetItem prettyqt.widgets.widgetitem Layout item that represents a widget. |
||
| LayoutMixin prettyqt.widgets.layout |
|
|
| SpacerItem prettyqt.widgets.spaceritem Blank space in a layout. |
🛈 DocStrings
Bases: _LayoutItemBase
Source code in prettyqt/widgets/layoutitem.py
get_alignment() -> constants.AlignmentStr
set_alignment(alignment: constants.AlignmentStr)
Set the alignment of the layout.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
alignment
|
AlignmentStr
|
alignment for the layout |
required |