on xenial help sign in
Unbreak height animation
59a3a20Albert Astals
Components/FilterGrid.qml+1−1
@@ -67,7 +67,7 @@ Item {
67 property alias highlightIndex: iconTileGrid.highlightIndex
67 property alias highlightIndex: iconTileGrid.highlightIndex
68 readonly property alias currentItem: iconTileGrid.currentItem
68 readonly property alias currentItem: iconTileGrid.currentItem
69
69
70− implicitHeight: !filterAnimation.running ? childrenRect.height : height
70+ height: !filterAnimation.running ? childrenRect.height : height
71 clip: filterAnimation.running
71 clip: filterAnimation.running
72
72
73 NumberAnimation {
73 NumberAnimation {
Dash/DashFilterGrid.qml+2−2
@@ -37,7 +37,7 @@ DashRenderer {
37 expandable: filterGrid.expandable
37 expandable: filterGrid.expandable
38 delegateCreationBegin: filterGrid.delegateCreationBegin
38 delegateCreationBegin: filterGrid.delegateCreationBegin
39 delegateCreationEnd: filterGrid.delegateCreationEnd
39 delegateCreationEnd: filterGrid.delegateCreationEnd
40− implicitHeight: filterGrid.implicitHeight
40+ height: filterGrid.height
41 margins: filterGrid.margins
41 margins: filterGrid.margins
42 uncollapsedHeight: filterGrid.uncollapsedHeight
42 uncollapsedHeight: filterGrid.uncollapsedHeight
43 verticalSpacing: filterGrid.verticalSpacing
43 verticalSpacing: filterGrid.verticalSpacing
@@ -48,7 +48,7 @@ DashRenderer {
48
48
49 FilterGrid {
49 FilterGrid {
50 id: filterGrid
50 id: filterGrid
51− anchors.fill: parent
51+ width: dashFilterGrid.width
52 minimumHorizontalSpacing: units.gu(0.5)
52 minimumHorizontalSpacing: units.gu(0.5)
53 delegateWidth: units.gu(11)
53 delegateWidth: units.gu(11)
54 delegateHeight: units.gu(9.5)
54 delegateHeight: units.gu(9.5)