mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Base: Update Toolbar manpage
This commit is contained in:
@@ -6,6 +6,10 @@ GML Toolbar Widget
|
||||
|
||||
Defines a GUI toolbar widget.
|
||||
|
||||
When `collapsible` is set to `true`, the toolbar can be resized below the size of its items.
|
||||
Any items that do not fit the current size, will be placed in an overflow menu.
|
||||
To keep groups (i.e. Buttons/items separated by Separators) together, and move them to the overflow menu as one, set the `gouped` property.
|
||||
|
||||
## Synopsis
|
||||
|
||||
`@GUI::Toolbar`
|
||||
@@ -15,5 +19,14 @@ Defines a GUI toolbar widget.
|
||||
```gml
|
||||
@GUI::Toolbar {
|
||||
name: "toolbar"
|
||||
collapsible: true
|
||||
grouped: true
|
||||
}
|
||||
```
|
||||
|
||||
## Registered Properties
|
||||
|
||||
| Property | Type | Possible values | Description |
|
||||
|-------------|------|-----------------|---------------------------------------------------------------------------------------|
|
||||
| collapsible | bool | true or false | If items that do not fit should be placed in an overflow menu |
|
||||
| grouped | bool | true or false | If items should be moved to the overflow menu in groups, separated by Separator items |
|
||||
Reference in New Issue
Block a user