diff options
author | FrHun <28605587+frhun@users.noreply.github.com> | 2022-10-05 18:58:03 +0200 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2022-10-06 12:17:38 +0100 |
commit | 6330de15b62d30bbd7a17d714d40d08b97afdd86 (patch) | |
tree | e41deadefa8b53a5a6a1f33ccc0725e65081bb65 /Base/usr | |
parent | 29a3ff22d7cd3377ebc6850bf8f47ff22dc5a859 (diff) | |
download | serenity-6330de15b62d30bbd7a17d714d40d08b97afdd86.zip |
Base: Update Toolbar manpage
Diffstat (limited to 'Base/usr')
-rw-r--r-- | Base/usr/share/man/man5/GML-Widget-Toolbar.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Base/usr/share/man/man5/GML-Widget-Toolbar.md b/Base/usr/share/man/man5/GML-Widget-Toolbar.md index b385f71dab..8a6a63db98 100644 --- a/Base/usr/share/man/man5/GML-Widget-Toolbar.md +++ b/Base/usr/share/man/man5/GML-Widget-Toolbar.md @@ -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 |
\ No newline at end of file |