diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-02-26 02:01:05 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-02-26 02:01:05 (GMT) |
commit | 5fb329228bd1cd1126428b045a41a4a9c1033dc5 (patch) | |
tree | f93828abe89818729d717d3e9cdae94929f6fb13 /examples/declarative/listview | |
parent | 3218d437a13ac82f65abcea0db099f54504c8875 (diff) | |
download | Qt-5fb329228bd1cd1126428b045a41a4a9c1033dc5.zip Qt-5fb329228bd1cd1126428b045a41a4a9c1033dc5.tar.gz Qt-5fb329228bd1cd1126428b045a41a4a9c1033dc5.tar.bz2 |
Renamed Flickable viewportXXX properties contentXXX
A viewport is the thing you look through, not what you look at.
Diffstat (limited to 'examples/declarative/listview')
-rw-r--r-- | examples/declarative/listview/recipes.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/listview/recipes.qml b/examples/declarative/listview/recipes.qml index f848be0..b76a9ab 100644 --- a/examples/declarative/listview/recipes.qml +++ b/examples/declarative/listview/recipes.qml @@ -81,7 +81,7 @@ Rectangle { Flickable { id: flick anchors.top: methodTitle.bottom; anchors.bottom: parent.bottom - width: parent.width; viewportHeight: methodText.height; clip: true + width: parent.width; contentHeight: methodText.height; clip: true Text { id: methodText; text: method; wrap: true; width: details.width } } Image { @@ -114,7 +114,7 @@ Rectangle { // Make the detailed view fill the entire list area PropertyChanges { target: wrapper; height: list.height } // Move the list so that this item is at the top. - PropertyChanges { target: wrapper.ListView.view; explicit: true; viewportY: wrapper.y } + PropertyChanges { target: wrapper.ListView.view; explicit: true; contentY: wrapper.y } // Disallow flicking while we're in detailed view PropertyChanges { target: wrapper.ListView.view; interactive: false } } @@ -124,7 +124,7 @@ Rectangle { ParallelAnimation { ColorAnimation { property: "color"; duration: 500 } NumberAnimation { - duration: 300; properties: "detailsOpacity,x,viewportY,height,width" + duration: 300; properties: "detailsOpacity,x,contentY,height,width" } } } |