mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:57:35 +00:00
Base: Move GML Widget documentation to subsubsection
This is not only convenient, but also a subsection testcase :^)
This commit is contained in:
parent
ad6cbc4192
commit
3df2eb66be
44 changed files with 43 additions and 43 deletions
38
Base/usr/share/man/man5/GML/Widget/TabWidget.md
Normal file
38
Base/usr/share/man/man5/GML/Widget/TabWidget.md
Normal file
|
@ -0,0 +1,38 @@
|
|||
## Name
|
||||
|
||||
GML Tab Widget
|
||||
|
||||
## Description
|
||||
|
||||
Defines a GUI tab widget.
|
||||
|
||||
## Synopsis
|
||||
|
||||
`@GUI::TabWidget`
|
||||
|
||||
## Examples
|
||||
|
||||
```gml
|
||||
@GUI::TabWidget {
|
||||
uniform_tabs: true
|
||||
|
||||
@GUI::Widget {
|
||||
title: "First tab"
|
||||
}
|
||||
@GUI::Widget {
|
||||
title: "Second tab"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Registered Properties
|
||||
|
||||
| Property | Type | Possible values | Description |
|
||||
|--------------------|----------------|-----------------------------------------------------------------------------|--------------------------------------|
|
||||
| container_margins | margins | | Margins for the tab content |
|
||||
| reorder_allowed | bool | true or false | Allow changing the order of the tabs |
|
||||
| show_close_buttons | bool | true or false | Show a close button on each tab |
|
||||
| show_tab_bar | bool | true or false | Whether to display the tabs |
|
||||
| text_alignment | text_alignment | Center, CenterLeft, CenterRight, TopLeft, TopRight, BottomLeft, BottomRight | Set the alignment of tab text |
|
||||
| tab_position | tab_position | Top, Bottom, Left, Right | Set the tab position |
|
||||
| uniform_tabs | bool | true or false | Give all tabs the same width |
|
Loading…
Add table
Add a link
Reference in a new issue