on xenial help sign in
less warnings on rebuilding of the repeater
1da5976Albert Astals Cid
qml/Dash/DashNavigation.qml+1−1
@@ -74,7 +74,7 @@ Item {
74 delegate: DashNavigationHeader {
74 delegate: DashNavigationHeader {
75 objectName: "dashNavigationHeader" + index
75 objectName: "dashNavigationHeader" + index
76 height: index == 0 && headersModel.count > 1 ? 0 : units.gu(5)
76 height: index == 0 && headersModel.count > 1 ? 0 : units.gu(5)
77− width: parent.width
77+ width: headersColumn.width
78
78
79 backVisible: index != 0
79 backVisible: index != 0
80 text: headerText
80 text: headerText
qml/Dash/DashNavigationList.qml+3−3
@@ -55,10 +55,10 @@ Item {
55 delegate: ListItem {
55 delegate: ListItem {
56 objectName: root.objectName + "child" + index
56 objectName: root.objectName + "child" + index
57 height: root.itemHeight
57 height: root.itemHeight
58− width: parent.width
58+ width: column.width
59 anchors {
59 anchors {
60− left: parent.left
60+ left: column.left
61− right: parent.right
61+ right: column.right
62 leftMargin: units.gu(2)
62 leftMargin: units.gu(2)
63 rightMargin: units.gu(2)
63 rightMargin: units.gu(2)
64 }
64 }