on xenial help sign in
Workaround SDK ListItem bug
b8203b9Albert Astals Cid
qml/Dash/DashNavigationList.qml+3−1
@@ -16,6 +16,7 @@
16
16
17import QtQuick 2.4
17import QtQuick 2.4
18import Ubuntu.Components 1.3
18import Ubuntu.Components 1.3
19+import Ubuntu.Components.ListItems 1.3 as ListItems
19import "../Components"
20import "../Components"
20
21
21Item {
22Item {
@@ -52,7 +53,8 @@ Item {
52 Repeater {
53 Repeater {
53 model: navigation && navigation.loaded ? navigation : null
54 model: navigation && navigation.loaded ? navigation : null
54 clip: true
55 clip: true
56+ // FIXME Move to ListItem (and remove import) once 1556971 is fixed
55− delegate: ListItem {
57+ delegate: ListItems.Empty {
56 objectName: root.objectName + "child" + index
58 objectName: root.objectName + "child" + index
57 height: root.itemHeight
59 height: root.itemHeight
58 width: column.width
60 width: column.width
qml/Dash/PageHeaderExtraPanel.qml+2−1
@@ -92,7 +92,8 @@ Item {
92 objectName: "recentSearchesRepeater"
92 objectName: "recentSearchesRepeater"
93 model: searchHistory
93 model: searchHistory
94
94
95+ // FIXME Move to ListItem (and remove import) once 1556971 is fixed
95− delegate: ListItem {
96+ delegate: ListItems.Empty {
96 anchors {
97 anchors {
97 left: parent.left
98 left: parent.left
98 right: parent.right
99 right: parent.right