diff options
Diffstat (limited to 'demos/declarative/contacts/FieldText.qml')
-rw-r--r-- | demos/declarative/contacts/FieldText.qml | 45 |
1 files changed, 18 insertions, 27 deletions
diff --git a/demos/declarative/contacts/FieldText.qml b/demos/declarative/contacts/FieldText.qml index 39e45d4..ae84d44 100644 --- a/demos/declarative/contacts/FieldText.qml +++ b/demos/declarative/contacts/FieldText.qml @@ -96,50 +96,41 @@ Rect { states: [ State { name: "editing" - SetProperty { + SetProperties { target: confirmIcon - property: "opacity" - value: 1 + opacity: 1 } - SetProperty { + SetProperties { target: cancelIcon - property: "opacity" - value: 1 + opacity: 1 } - SetProperty { + SetProperties { target: fieldText - property: "color" - value: "white" + color: "white" } - SetProperty { + SetProperties { target: textEdit - property: "color" - value: "black" + color: "black" } - SetProperty { + SetProperties { target: textEdit - property: "readOnly" - value: false + readOnly: false } - SetProperty { + SetProperties { target: textEdit - property: "focus" - value: true + focus: true } - SetProperty { + SetProperties { target: editRegion - property: "opacity" - value: 0 + opacity: 0 } - SetProperty { + SetProperties { target: textEdit.anchors - property: "leftMargin" - value: 34 + leftMargin: 34 } - SetProperty { + SetProperties { target: textEdit.anchors - property: "rightMargin" - value: 34 + rightMargin: 34 } } ] |