on xenial help sign in
IndicatorRepresentation: set the visual representation box bg to highlighted
commit86b9a9c6e886cc06183d5b0d3132faf13d6e1b99 authorMarco Trevisan (Treviño) <mail@3v1n0.net> dateWed 15 Jun 2016, 17:38 (10 years ago) parent35a15b9
1 file changed+19−7
qml/Panel/Indicators/client/IndicatorRepresentation.qml+19−7
qml/Panel/Indicators/client/IndicatorRepresentation.qml+19−7
@@ -34,15 +34,27 @@ Page {
3434
3535 anchors.fill: parent
3636
37− ListItemLayout {
37+ Rectangle {
38+ color: theme.palette.highlighted.background
3839 id: visualCheckItem
39− title.text: "Enable Visual Representation"
40− anchors.top: header.bottom
4140
42− Switch {
43− id: visualCheck
44− checked: true
45− SlotsLayout.position: SlotsLayout.Trailing
41+ anchors {
42+ top: header.bottom
43+ left: parent.left
44+ right: parent.right
45+ }
46+
47+ height: selectorLayout.height
48+
49+ ListItemLayout {
50+ id: selectorLayout
51+ title.text: "Enable Visual Representation"
52+
53+ Switch {
54+ id: visualCheck
55+ checked: true
56+ SlotsLayout.position: SlotsLayout.Trailing
57+ }
4658 }
4759 }
4860