mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Add the accessible-read-only
property
This commit is contained in:
parent
e5c27d57ca
commit
cc91de2d38
18 changed files with 60 additions and 1 deletions
|
@ -28,6 +28,7 @@ export component TextEdit {
|
|||
accessible-enabled: root.enabled;
|
||||
accessible-value <=> text;
|
||||
accessible-placeholder-text: text == "" ? placeholder-text : "";
|
||||
accessible-read-only: root.read-only;
|
||||
|
||||
public function set-selection-offsets(start: int, end: int) {
|
||||
base.set-selection-offsets(start, end);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue