mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 14:51:15 +00:00
input output property: fix semantic with two ways bindings
This commit is contained in:
parent
15d9a2665b
commit
6ab6ae63d4
10 changed files with 477 additions and 23 deletions
|
@ -11,7 +11,7 @@ export LineEditInner := Rectangle {
|
|||
property text <=> input.text;
|
||||
property placeholder-color <=> placeholder.color;
|
||||
property enabled <=> input.enabled;
|
||||
property has-focus <=> input.has-focus;
|
||||
property <bool> has-focus: input.has-focus;
|
||||
property input-type <=> input.input-type;
|
||||
property horizontal-alignment <=> input.horizontal-alignment;
|
||||
property read-only <=> input.read-only;
|
||||
|
@ -47,7 +47,7 @@ export LineEditInner := Rectangle {
|
|||
export TextEdit := ScrollView {
|
||||
property <length> font-size <=> input.font-size;
|
||||
property <string> text <=> input.text;
|
||||
has-focus <=> input.has-focus;
|
||||
has-focus: input.has-focus;
|
||||
enabled <=> input.enabled;
|
||||
property <TextWrap> wrap <=> input.wrap;
|
||||
property horizontal-alignment <=> input.horizontal-alignment;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue