diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-09-14 23:53:13 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-09-14 23:53:13 (GMT) |
commit | 8e0e32458e478d7a6a7a1623d4df768104df4b49 (patch) | |
tree | 76609f8a47c4fbba62cec04f8a460af6a3f71ff3 /doc/src | |
parent | ce34e5c61ff2849c91dbcfb3971aa1b0f95b5e4b (diff) | |
parent | fb8d3d1b325ecbe947f0cc8001f92d01a849f323 (diff) | |
download | Qt-8e0e32458e478d7a6a7a1623d4df768104df4b49.zip Qt-8e0e32458e478d7a6a7a1623d4df768104df4b49.tar.gz Qt-8e0e32458e478d7a6a7a1623d4df768104df4b49.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/snippets/declarative/listview/highlight.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/snippets/declarative/listview/highlight.qml b/doc/src/snippets/declarative/listview/highlight.qml index 29f41bf..97eac45 100644 --- a/doc/src/snippets/declarative/listview/highlight.qml +++ b/doc/src/snippets/declarative/listview/highlight.qml @@ -15,7 +15,7 @@ Rectangle { Item { id: Wrapper width: 180; height: 40 - VerticalLayout { + Column { x: 5; y: 5 Text { text: '<b>Name:</b> ' + name } Text { text: '<b>Number:</b> ' + number } @@ -32,10 +32,10 @@ Rectangle { Rectangle { width: 180; height: 40 color: "lightsteelblue"; radius: 5 - y: Follow { - source: List.current.y + y: SpringFollow { + source: List.currentItem.y spring: 3 - damping: 0.1 + damping: 0.2 } } } @@ -44,7 +44,7 @@ Rectangle { width: parent.height; height: parent.height model: ContactModel; delegate: Delegate highlight: Highlight - autoHighlight: false + highlightFollowsCurrentItem: false focus: true } //! [1] |