@@ -208,10 +208,11 @@ Item {
208208
209209 primaryItem: Rectangle {
210210 color: "#F5F4F5"
211− width: root.navigationTag != "" ? childrenRect.width + units.gu(2) : 0
212− height: root.navigationTag != "" ? childrenRect.height + units.gu(1) : 0
211+ width: root.navigationTag != "" ? tagLabel.width + units.gu(2) : 0
212+ height: root.navigationTag != "" ? tagLabel.height + units.gu(1) : 0
213213 radius: units.gu(0.5)
214214 Label {
215+ id: tagLabel
215216 text: root.navigationTag
216217 anchors.centerIn: parent
217218 color: "#333333"