mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-29 21:34:50 +00:00
Added placeholder-text to TextEdit (#5239)
--------- Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
This commit is contained in:
parent
bd777b4312
commit
a3d4112897
9 changed files with 140 additions and 87 deletions
|
@ -15,6 +15,7 @@ shortcut will be implemented in a future version: <https://github.com/slint-ui/s
|
|||
- **`read-only`** (_in_ _bool_): When set to true, text editing via keyboard and mouse is disabled but selecting text is still enabled as well as editing text programmatically (default value: `false`)
|
||||
- **`wrap`** (_in_ _enum [`TextWrap`](../builtins/enums.md#textwrap)_): The way the text wraps (default: word-wrap).
|
||||
- **`horizontal-alignment`** (_in_ _enum [`TextHorizontalAlignment`](../builtins/enums.md#texthorizontalalignment)_): The horizontal alignment of the text.
|
||||
- **`placeholder-text`**: (_in_ _string_): A placeholder text being shown when there is no text in the edit field.
|
||||
|
||||
### Functions
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue