mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:07:36 +00:00
Base+Manpages: Add basic GML documentation
First draft of GML documentation, just to get things started.
This commit is contained in:
parent
d01d754b83
commit
58a865f349
51 changed files with 1242 additions and 0 deletions
30
Base/usr/share/man/man5/GML-Widget-Label.md
Normal file
30
Base/usr/share/man/man5/GML-Widget-Label.md
Normal file
|
@ -0,0 +1,30 @@
|
|||
## Name
|
||||
|
||||
GML Label Widget
|
||||
|
||||
## Description
|
||||
|
||||
Defines a GUI label widget.
|
||||
|
||||
## Synopsis
|
||||
|
||||
`@GUI::Label`
|
||||
|
||||
## Examples
|
||||
|
||||
```
|
||||
@GUI::Label {
|
||||
text: "Copying files..."
|
||||
text_alignment: "CenterLeft"
|
||||
font_weight: "Bold"
|
||||
fixed_height: 32
|
||||
name: "files_copied_label"
|
||||
}
|
||||
```
|
||||
|
||||
## Registered Properties
|
||||
|
||||
| Property | Type | Possible values | Description |
|
||||
|-----------------|----------------|-----------------------------------------------------------------------------|----------------------------|
|
||||
| text_alignment | text_alignment | Center, CenterLeft, CenterRight, TopLeft, TopRight, BottomLeft, BottomRight | Sets alignment of the text |
|
||||
| text_wrapping | text_wrapping | | | | |
|
Loading…
Add table
Add a link
Reference in a new issue