mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
LibGUI+PDFViewer: Move NumericInput into LibGUI
A text box that is restricted to numbers within a range, is generally useful. Let's make it available for use!
This commit is contained in:
parent
4fd5d450be
commit
ea31c11aff
7 changed files with 31 additions and 4 deletions
19
Base/usr/share/man/man5/GML/Widget/NumericInput.md
Normal file
19
Base/usr/share/man/man5/GML/Widget/NumericInput.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
## Name
|
||||
|
||||
GML Numeric Input Widget
|
||||
|
||||
## Description
|
||||
|
||||
Defines a GUI text box that only allows integers within a specified range.
|
||||
|
||||
## Synopsis
|
||||
|
||||
`@GUI::NumericInput`
|
||||
|
||||
## Examples
|
||||
|
||||
```gml
|
||||
@GUI::NumericInput {
|
||||
text: "23"
|
||||
}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue