diff options
Diffstat (limited to 'demos/declarative/contacts/FieldText.qml')
-rw-r--r-- | demos/declarative/contacts/FieldText.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/demos/declarative/contacts/FieldText.qml b/demos/declarative/contacts/FieldText.qml index ae84d44..561e3c3 100644 --- a/demos/declarative/contacts/FieldText.qml +++ b/demos/declarative/contacts/FieldText.qml @@ -74,7 +74,7 @@ Rect { text: fieldText.label opacity: textEdit.text == '' ? 1 : 0 opacity: Behavior { - NumericAnimation { + NumberAnimation { property: "opacity" duration: 250 } @@ -139,11 +139,12 @@ Rect { fromState: "" toState: "*" reversible: true - NumericAnimation { + NumberAnimation { properties: "opacity,leftMargin,rightMargin" duration: 200 } ColorAnimation { + property: "color" duration: 150 } } |