on xenial help sign in
Fix spacing
f136e64Marius Gripsgard
qml/Dash/DashBackground.qml+12−15
@@ -15,24 +15,21 @@
15 */
15 */
16
16
17import QtQuick 2.4
17import QtQuick 2.4
18−import QtQuick.Window 2.2
19−import AccountsService 0.1
20−import ImageCache 0.1
21import GSettings 1.0
18import GSettings 1.0
22
19
23Rectangle {
20Rectangle {
24− GSettings {
21+ GSettings {
25− id: settings
22+ id: settings
26− schema.id: "com.ubuntu.touch.system-settings"
23+ schema.id: "com.ubuntu.touch.system-settings"
27− }
24+ }
28
25
29− color: settings.dashBackground ? "black" : "white"
26+ color: settings.dashBackground ? "black" : "white"
30
27
31− Image {
28+ Image {
32− visible: settings.dashBackground
29+ visible: settings.dashBackground
33− source: AccountsService.backgroundFile
30+ source: AccountsService.backgroundFile
34− anchors.fill: parent
31+ anchors.fill: parent
35− fillMode: Image.PreserveAspectCrop
32+ fillMode: Image.PreserveAspectCrop
36− opacity: 0.6
33+ opacity: 0.6
37− }
34+ }
38}
35}
qml/Dash/ScopesListCategoryItem.qml+2−2
@@ -73,7 +73,7 @@ AbstractButton {
73 wrapMode: Text.Wrap
73 wrapMode: Text.Wrap
74 maximumLineCount: 1
74 maximumLineCount: 1
75 verticalAlignment: Text.AlignHCenter
75 verticalAlignment: Text.AlignHCenter
76− color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
76+ color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
77 }
77 }
78 Label {
78 Label {
79 id: subtitleLabel
79 id: subtitleLabel
@@ -84,7 +84,7 @@ AbstractButton {
84 maximumLineCount: 1
84 maximumLineCount: 1
85 verticalAlignment: Text.AlignHCenter
85 verticalAlignment: Text.AlignHCenter
86 visible: text != ""
86 visible: text != ""
87− color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
87+ color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
88 }
88 }
89 }
89 }
90 AbstractButton {
90 AbstractButton {