on xenial help sign in
Fix binding loop and label misplacement on the phone
c7412e0Albert Astals Cid
qml/Dash/DashPageHeader.qml+3−2
@@ -208,10 +208,11 @@ Item {
208
208
209 primaryItem: Rectangle {
209 primaryItem: Rectangle {
210 color: "#F5F4F5"
210 color: "#F5F4F5"
211− width: root.navigationTag != "" ? childrenRect.width + units.gu(2) : 0
211+ width: root.navigationTag != "" ? tagLabel.width + units.gu(2) : 0
212− height: root.navigationTag != "" ? childrenRect.height + units.gu(1) : 0
212+ height: root.navigationTag != "" ? tagLabel.height + units.gu(1) : 0
213 radius: units.gu(0.5)
213 radius: units.gu(0.5)
214 Label {
214 Label {
215+ id: tagLabel
215 text: root.navigationTag
216 text: root.navigationTag
216 anchors.centerIn: parent
217 anchors.centerIn: parent
217 color: "#333333"
218 color: "#333333"