mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-07 00:19:27 +00:00
Base: Document NumericInput properties
I forgot to do this when I added them.
This commit is contained in:
parent
e265d81277
commit
340936ad09
|
@ -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…
Reference in a new issue