summaryrefslogtreecommitdiffstats
path: root/demos/declarative/contacts/ContactField.qml
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-06-30 00:13:40 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-06-30 00:13:40 (GMT)
commitb405bd2ee0a752ba943b5c9993bb0dccf9ddf2f1 (patch)
tree149b6b4bba66e88a44822b1e2d17d699a08faa4d /demos/declarative/contacts/ContactField.qml
parentbce256a8513292ff71e9cb690893cea974b642c9 (diff)
parent6856dd2850245414fb610e651391f5fe141605de (diff)
downloadQt-b405bd2ee0a752ba943b5c9993bb0dccf9ddf2f1.zip
Qt-b405bd2ee0a752ba943b5c9993bb0dccf9ddf2f1.tar.gz
Qt-b405bd2ee0a752ba943b5c9993bb0dccf9ddf2f1.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Conflicts: demos/declarative/flickr/content/ImageDetails.qml
Diffstat (limited to 'demos/declarative/contacts/ContactField.qml')
-rw-r--r--demos/declarative/contacts/ContactField.qml12
1 files changed, 5 insertions, 7 deletions
diff --git a/demos/declarative/contacts/ContactField.qml b/demos/declarative/contacts/ContactField.qml
index 003e723..765dcbd 100644
--- a/demos/declarative/contacts/ContactField.qml
+++ b/demos/declarative/contacts/ContactField.qml
@@ -34,15 +34,13 @@ Item {
State {
name: "editingText"
when: fieldText.state == 'editing'
- SetProperty {
+ SetProperties {
target: removeButton.anchors
- property: "rightMargin"
- value: -35
+ rightMargin: -35
}
- SetProperty {
+ SetProperties {
target: fieldText
- property: "width"
- value: contactField.width
+ width: contactField.width
}
}
]
@@ -51,7 +49,7 @@ Item {
fromState: ""
toState: "*"
reversible: true
- NumericAnimation {
+ NumberAnimation {
properties: "width,rightMargin"
duration: 200
}