Align
Overview
Aligns the child widget to a specific position inside the parent area — top, bottom, left, right, center, and so on. Use it to place a button in the bottom-right corner of a card, for example.
Properties
| Property | Description | Values | Default |
|---|---|---|---|
alignment | Aligns the child widget to this position inside the parent area. | Alignment value | Center (X: 0, Y: 0) |
widthFactor | Multiplies the child widget's width by this factor and uses the result as the width of the alignment area. | Factor of 0.0 or greater | Not set |
heightFactor | Multiplies the child widget's height by this factor and uses the result as the height of the alignment area. | Factor of 0.0 or greater | Not set |