mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-16 22:31:03 +02:00
feat(custom): add halign and valign options to box widget (#988)
This commit is contained in:
parent
e4c0a1ba92
commit
b13c725f67
2 changed files with 45 additions and 1 deletions
|
@ -47,6 +47,8 @@ A container to place nested widgets inside.
|
|||
|---------------|------------------------------------------------------------|----------------|-------------------------------------------------------------------|
|
||||
| `orientation` | `'horizontal'` or `'vertical'` (shorthand: `'h'` or `'v'`) | `'horizontal'` | Whether child widgets should be horizontally or vertically added. |
|
||||
| `widgets` | `(Module or Widget)[]` | `[]` | List of modules/widgets to add to this box. |
|
||||
| `halign` | `'start'` or `'center'` or `'end'` or `'fill'` | `'fill'` | The horizontal alignment of the box within its parent container. |
|
||||
| `valign` | `'start'` or `'center'` or `'end'` or `'fill'` | `'fill'` | The vertical alignment of the box within its parent container. |
|
||||
|
||||
#### Label
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue