1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:37:44 +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:
Sam Atkins 2024-01-08 17:29:18 +00:00 committed by Sam Atkins
parent 4fd5d450be
commit ea31c11aff
7 changed files with 31 additions and 4 deletions

View 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"
}
```