mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:27:35 +00:00
Base: Document NumericInput properties
I forgot to do this when I added them.
This commit is contained in:
parent
e265d81277
commit
340936ad09
1 changed files with 11 additions and 1 deletions
|
@ -14,6 +14,16 @@ Defines a GUI text box that only allows integers within a specified range.
|
|||
|
||||
```gml
|
||||
@GUI::NumericInput {
|
||||
text: "23"
|
||||
min: 0
|
||||
value: 42
|
||||
max: 9000
|
||||
}
|
||||
```
|
||||
|
||||
## Registered Properties
|
||||
|
||||
| Property | Type | Possible values | Description |
|
||||
|----------|-------|--------------------|----------------------------------------|
|
||||
| min | int | Any 64 bit integer | Minimum number the input can be set to |
|
||||
| max | int | Any 64 bit integer | Maximum number the input can be set to |
|
||||
| value | int | Any 64 bit integer | Initial value |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue