From: Martin Jones Date: Wed, 20 Jun 2012 05:57:49 +0000 (+1000) Subject: dynamiclist example used different delegate height for anim and static X-Git-Tag: 071012131707~135 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f759922d4000c658ce2ff0a0bc2739d9d5782f15;p=profile%2Fivi%2Fqtdeclarative.git 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 --- diff --git a/examples/quick/modelviews/listview/dynamiclist.qml b/examples/quick/modelviews/listview/dynamiclist.qml index 0bd4e05..12b1e74 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 {