less warnings on rebuilding of the repeater
commit1da597620b0941a974923e6d47afa22b6bf1945b
authorAlbert Astals Cid <albert.astals@canonical.com>
dateThu 3 Mar 2016, 11:12 (11 years ago)
parent2abd5b4
qml/Dash/DashNavigation.qml+1−1
@@ -74,7 +74,7 @@ Item {
7474 delegate: DashNavigationHeader {
7575 objectName: "dashNavigationHeader" + index
7676 height: index == 0 && headersModel.count > 1 ? 0 : units.gu(5)
77− width: parent.width
77+ width: headersColumn.width
7878
7979 backVisible: index != 0
8080 text: headerText
qml/Dash/DashNavigationList.qml+3−3
@@ -55,10 +55,10 @@ Item {
5555 delegate: ListItem {
5656 objectName: root.objectName + "child" + index
5757 height: root.itemHeight
58− width: parent.width
58+ width: column.width
5959 anchors {
60− left: parent.left
61− right: parent.right
60+ left: column.left
61+ right: column.right
6262 leftMargin: units.gu(2)
6363 rightMargin: units.gu(2)
6464 }