diff options
author | Martin Jones <martin.jones@nokia.com> | 2012-06-20 15:57:49 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-22 01:26:29 +0200 |
commit | f759922d4000c658ce2ff0a0bc2739d9d5782f15 (patch) | |
tree | 76e245b3ea5f6f6f67c3d080555b19d885b4be55 /examples | |
parent | 6ea2d870aac684964b8a83f2beebb892b41243bd (diff) |
dynamiclist example used different delegate height for anim and static
so delegates added later weren't the same size as the original items.
Set a better value for both.
Task-number: QTBUG-26206
Change-Id: Ic9d32528eb43a77e23e3a619834da098f177b5d6
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quick/modelviews/listview/dynamiclist.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/modelviews/listview/dynamiclist.qml b/examples/quick/modelviews/listview/dynamiclist.qml index 0bd4e05cdc..12b1e74fde 100644 --- a/examples/quick/modelviews/listview/dynamiclist.qml +++ b/examples/quick/modelviews/listview/dynamiclist.qml @@ -88,7 +88,7 @@ Rectangle { Item { //! [0] id: delegateItem - width: listView.width; height: 100 + width: listView.width; height: 80 clip: true Column { @@ -173,7 +173,7 @@ Rectangle { //! [1] ListView.onAdd: SequentialAnimation { PropertyAction { target: delegateItem; property: "height"; value: 0 } - NumberAnimation { target: delegateItem; property: "height"; to: 55; duration: 250; easing.type: Easing.InOutQuad } + NumberAnimation { target: delegateItem; property: "height"; to: 80; duration: 250; easing.type: Easing.InOutQuad } } ListView.onRemove: SequentialAnimation { |