mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
add 'line-numbers' property to textbox & make TextBox extend Container instead of Panel
This commit is contained in:
parent
9dc09e920c
commit
2cf51a6941
6 changed files with 135 additions and 25 deletions
|
|
@ -104,6 +104,7 @@ Inner text - initially entered text
|
|||
- `multiline` - allows display of multiline text.
|
||||
- `text-wrap` - allows automatic text wrapping (works only with multiline: "true")
|
||||
- `editable` - determines whether the text can be edited.
|
||||
- `line-numbers` - enables line numbers display.
|
||||
- `error-color` - color when entering incorrect data (the text does not pass the validator check). Type: RGBA color.
|
||||
- `text-color` - text color. Type: RGBA color.
|
||||
- `validator` - lua function that checks text for correctness. Takes a string as input, returns true if the text is correct.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue