summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-06-26 02:53:17 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-06-26 02:53:17 (GMT)
commit98286fd1ac3bb7940618d5a170c7b98b0e2a4dae (patch)
treea1e0c98f28f7b0b6fd55a56a28619be09e901e1c /demos
parentafa4e61b10187102d3ea49d1c11bae1ef919d94d (diff)
downloadQt-98286fd1ac3bb7940618d5a170c7b98b0e2a4dae.zip
Qt-98286fd1ac3bb7940618d5a170c7b98b0e2a4dae.tar.gz
Qt-98286fd1ac3bb7940618d5a170c7b98b0e2a4dae.tar.bz2
Color property is required to be explicity set (at least for now).
Diffstat (limited to 'demos')
-rw-r--r--demos/declarative/contacts/Button.qml2
-rw-r--r--demos/declarative/contacts/FieldText.qml1
2 files changed, 3 insertions, 0 deletions
diff --git a/demos/declarative/contacts/Button.qml b/demos/declarative/contacts/Button.qml
index 295e6cd..842825f 100644
--- a/demos/declarative/contacts/Button.qml
+++ b/demos/declarative/contacts/Button.qml
@@ -36,6 +36,7 @@ Item {
fromState: "*"
toState: "pressed"
ColorAnimation {
+ property: "color"
duration: 200
}
},
@@ -43,6 +44,7 @@ Item {
fromState: "pressed"
toState: "*"
ColorAnimation {
+ property: "color"
duration: 1000
}
}
diff --git a/demos/declarative/contacts/FieldText.qml b/demos/declarative/contacts/FieldText.qml
index 333a5f6..ddeed11 100644
--- a/demos/declarative/contacts/FieldText.qml
+++ b/demos/declarative/contacts/FieldText.qml
@@ -153,6 +153,7 @@ Rect {
duration: 200
}
ColorAnimation {
+ property: "color"
duration: 150
}
}