@@ -70,9 +70,11 @@ Item {
7070
7171 Image {
7272 id: backImage
73− anchors.verticalCenter: parent.verticalCenter
74− anchors.left: parent.left
75− anchors.leftMargin: units.gu(2)
73+ anchors {
74+ verticalCenter: parent.verticalCenter
75+ left: parent.left
76+ leftMargin: units.gu(2)
77+ }
7678 source: "image://theme/back"
7779 sourceSize.height: parent.height - units.gu(3)
7880 sourceSize.width: units.gu(3)
@@ -80,20 +82,23 @@ Item {
8082 }
8183
8284 Label {
83− anchors.verticalCenter: parent.verticalCenter
84− anchors.left: backImage.right
85− anchors.leftMargin: units.gu(0.5)
85+ anchors {
86+ verticalCenter: parent.verticalCenter
87+ left: backImage.right
88+ leftMargin: units.gu(0.5)
89+ }
8690 text: department ? department.parentLabel : ""
8791 color: "gray" // TODO remove once we're a separate app
8892 }
8993
9094 Rectangle {
91− anchors.bottom: parent.bottom
92− anchors.left: parent.left
93− anchors.right: parent.right
94− anchors.leftMargin: units.gu(2)
95− anchors.rightMargin: units.gu(2)
96− width: parent.width
95+ anchors {
96+ bottom: parent.bottom
97+ left: parent.left
98+ right: parent.right
99+ leftMargin: units.gu(2)
100+ rightMargin: units.gu(2)
101+ }
97102 color: "gray"
98103 opacity: 0.2
99104 height: units.dp(1)
@@ -108,21 +113,24 @@ Item {
108113 height: itemHeight
109114
110115 Label {
111− anchors.verticalCenter: parent.verticalCenter
112− anchors.left: parent.left
113− anchors.leftMargin: units.gu(2)
116+ anchors {
117+ verticalCenter: parent.verticalCenter
118+ left: parent.left
119+ leftMargin: units.gu(2)
120+ }
114121 text: department ? (department.allLabel != "" ? department.allLabel : department.label) : ""
115122 font.bold: true
116123 color: "gray" // TODO remove once we're a separate app
117124 }
118125
119126 Rectangle {
120− anchors.bottom: parent.bottom
121− anchors.left: parent.left
122− anchors.right: parent.right
123− anchors.leftMargin: units.gu(2)
124− anchors.rightMargin: units.gu(2)
125− width: parent.width
127+ anchors {
128+ bottom: parent.bottom
129+ left: parent.left
130+ right: parent.right
131+ leftMargin: units.gu(2)
132+ rightMargin: units.gu(2)
133+ }
126134 color: "gray"
127135 opacity: 0.2
128136 height: units.dp(1)
@@ -142,17 +150,21 @@ Item {
142150 onClicked: root.enterDepartment(departmentId, hasChildren)
143151
144152 Label {
145− anchors.verticalCenter: parent.verticalCenter
146− anchors.left: parent.left
147− anchors.leftMargin: units.gu(2)
153+ anchors {
154+ verticalCenter: parent.verticalCenter
155+ left: parent.left
156+ leftMargin: units.gu(2)
157+ }
148158 text: label
149159 color: "gray" // TODO remove once we're a separate app
150160 }
151161
152162 Image {
153− anchors.verticalCenter: parent.verticalCenter
154− anchors.right: parent.right
155− anchors.rightMargin: units.gu(2)
163+ anchors {
164+ verticalCenter: parent.verticalCenter
165+ right: parent.right
166+ rightMargin: units.gu(2)
167+ }
156168 source: "image://theme/chevron"
157169 sourceSize.height: parent.height - units.gu(3)
158170 sourceSize.width: units.gu(3)
@@ -160,9 +172,11 @@ Item {
160172 visible: hasChildren
161173 }
162174 Image {
163− anchors.verticalCenter: parent.verticalCenter
164− anchors.right: parent.right
165− anchors.rightMargin: units.gu(2)
175+ anchors {
176+ verticalCenter: parent.verticalCenter
177+ right: parent.right
178+ rightMargin: units.gu(2)
179+ }
166180 source: "graphics/tick.png"
167181 sourceSize.height: parent.height - units.gu(2)
168182 sourceSize.width: units.gu(3)
@@ -171,12 +185,13 @@ Item {
171185 }
172186
173187 Rectangle {
174− anchors.bottom: parent.bottom
175− anchors.left: parent.left
176− anchors.right: parent.right
177− anchors.leftMargin: units.gu(2)
178− anchors.rightMargin: units.gu(2)
179− width: parent.width
188+ anchors {
189+ bottom: parent.bottom
190+ left: parent.left
191+ right: parent.right
192+ leftMargin: units.gu(2)
193+ rightMargin: units.gu(2)
194+ }
180195 color: "gray"
181196 opacity: 0.1
182197 height: units.dp(1)