add 'hint' property to TextBox

This commit is contained in:
MihailRis
2024-11-12 23:20:43 +03:00
parent 01c568e032
commit d72f758dc5
6 changed files with 64 additions and 11 deletions
+1
View File
@@ -74,6 +74,7 @@ Properties:
| ----------- | ------ | ---- | ----- | ------------------------------------------------------------------------------------ |
| text | string | yes | yes | entered text or placeholder |
| placeholder | string | yes | yes | placeholder (used if nothing has been entered) |
| hint | string | yes | yes | text to display when nothing is entered |
| caret | int | yes | yes | carriage position. `textbox.caret = -1` will set the position to the end of the text |
| editable | bool | yes | yes | text mutability |
| multiline | bool | yes | yes | multiline support |