1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:07:45 +00:00

Base: Document NumericInput properties

I forgot to do this when I added them.
This commit is contained in:
Sam Atkins 2024-01-10 20:07:37 +00:00 committed by Sam Atkins
parent e265d81277
commit 340936ad09

View file

@ -14,6 +14,16 @@ Defines a GUI text box that only allows integers within a specified range.
```gml ```gml
@GUI::NumericInput { @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 |