mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-10 13:12:56 +00:00
28 lines
659 B
Markdown
28 lines
659 B
Markdown
## Name
|
|
|
|
GML Spin Box Widget
|
|
|
|
## Description
|
|
|
|
Defines a GUI spin box widget. This is a number input with buttons to increment and decrement the value.
|
|
|
|
## Synopsis
|
|
|
|
`@GUI::SpinBox`
|
|
|
|
## Examples
|
|
|
|
```gml
|
|
@GUI::SpinBox {
|
|
name: "thickness_spinbox"
|
|
min: 0
|
|
max: 2
|
|
}
|
|
```
|
|
|
|
## Registered Properties
|
|
|
|
| Property | Type | Possible values | Description |
|
|
|----------|-------|--------------------|----------------------------------------------|
|
|
| min | int | Any 64 bit integer | Minimum number the spin box can increment to |
|
|
| max | int | Any 64 bit integer | Maximum number the spin box can increment to |
|