on xenial help sign in
comment on duration and easing
229856eAlbert Astals
Components/FilterGrid.qml+4−1
@@ -69,8 +69,11 @@ Item {
69 id: filterAnimation
69 id: filterAnimation
70 target: root
70 target: root
71 property: "height"
71 property: "height"
72− duration: 200
73 to: filterEndValue ? root.collapsedHeight : root.uncollapsedHeight
72 to: filterEndValue ? root.collapsedHeight : root.uncollapsedHeight
73+ // Duration and easing here match the ListViewWithPageHeader::m_contentYAnimation
74+ // otherwise since both animations can run at the same time you'll get
75+ // some visual weirdness.
76+ duration: 200
74 easing.type: Easing.InOutQuad
77 easing.type: Easing.InOutQuad
75 onStopped: {
78 onStopped: {
76 root.filter = filterEndValue;
79 root.filter = filterEndValue;