@@ -20,25 +20,29 @@
2020
2121import QtQuick 2.4
2222import Ubuntu.Components 1.3
23−import Ubuntu.Components.ListItems 1.3 as ListItem
2423import "../.."
2524
2625Page {
2726 id: root
28−
29− title: indicatorProperties && indicatorProperties.title ? indicatorProperties.title :
30− indicatorProperties && indicatorProperties.accessibleName ? indicatorProperties.accessibleName
31− : ""
3227 property variant indicatorProperties
3328
29+ header: PageHeader {
30+ title: indicatorProperties && indicatorProperties.title ? indicatorProperties.title :
31+ indicatorProperties && indicatorProperties.accessibleName ? indicatorProperties.accessibleName
32+ : identifier
33+ }
34+
3435 anchors.fill: parent
3536
36− ListItem.Standard {
37+ ListItemLayout {
3738 id: visualCheckItem
38− text: "Enable Visual Representation"
39− control: Switch {
39+ title.text: "Enable Visual Representation"
40+ anchors.top: header.bottom
41+
42+ Switch {
4043 id: visualCheck
4144 checked: true
45+ SlotsLayout.position: SlotsLayout.Trailing
4246 }
4347 }
4448
@@ -48,11 +52,6 @@ Page {
4852 clip:true
4953 asynchronous: true
5054
51− Rectangle {
52− anchors.fill: pageLoader
53− color: "#221e1c" // FIXME not in palette yet
54− }
55−
5655 anchors {
5756 top: visualCheckItem.bottom
5857 left: parent.left
@@ -92,13 +91,5 @@ Page {
9291 margins: units.gu(1)
9392 }
9493 height: childrenRect.height
95−
96− Button {
97− anchors {
98− left: parent.left
99− }
100− text: "Back"
101− onClicked: root.pageStack.reset()
102− }
10394 }
10495}