From 53706c6fd440e39c4bea09dcfe10b1c1f20ae5b3 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 15 May 2015 19:04:53 +0200 Subject: [PATCH] try with normal colorgroup for applets --- .../homescreen/package/contents/ui/main.qml | 25 +++++++++++++------ 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/containments/homescreen/package/contents/ui/main.qml b/containments/homescreen/package/contents/ui/main.qml index a7c942b3..646dad36 100644 --- a/containments/homescreen/package/contents/ui/main.qml +++ b/containments/homescreen/package/contents/ui/main.qml @@ -257,6 +257,7 @@ MouseEventListener { } PlasmaCore.ColorScope { anchors.fill: parent + //TODO: decide what color we want applets colorGroup: PlasmaCore.Theme.ComplementaryColorGroup Rectangle { @@ -431,20 +432,28 @@ MouseEventListener { source: "go-up" width: units.iconSizes.huge height: width + colorGroup: PlasmaCore.Theme.ComplementaryColorGroup anchors { horizontalCenter: parent.horizontalCenter bottom: parent.bottom } } } - ColumnLayout { - id: appletsLayout - Item { - id: spacer - Layout.fillWidth: true - Layout.fillHeight: true - Layout.minimumHeight: plasmoid.applets.length % 2 == 0 ? 0 : (root.height - margin)/2 - Layout.maximumHeight: Layout.minimumHeight + PlasmaCore.ColorScope { + //TODO: decide what color we want applets + colorGroup: PlasmaCore.Theme.NormalColorGroup + Layout.fillWidth: true + Layout.minimumHeight: appletsLayout.Layout.minimumHeight + Layout.maximumHeight: appletsLayout.Layout.maximumHeight + ColumnLayout { + id: appletsLayout + Item { + id: spacer + Layout.fillWidth: true + Layout.fillHeight: true + Layout.minimumHeight: plasmoid.applets.length % 2 == 0 ? 0 : (root.height - margin)/2 + Layout.maximumHeight: Layout.minimumHeight + } } } Item {