From f3cd4698daa2273029829dd05b7b6dbab1e96d55 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 5 Sep 2017 17:25:48 +0200 Subject: [PATCH] black panel if there are bg hints --- shell/contents/views/Panel.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/shell/contents/views/Panel.qml b/shell/contents/views/Panel.qml index 41465369..746a2ba5 100644 --- a/shell/contents/views/Panel.qml +++ b/shell/contents/views/Panel.qml @@ -21,13 +21,14 @@ import QtQuick.Layouts 1.1 import org.kde.plasma.core 2.0 as PlasmaCore - -Item { +Rectangle { id: root visible: false //adjust borders is run during setup. We want to avoid painting till completed property Item containment + color: containment.backgroundHints == PlasmaCore.Types.NoBackground ? "transparent" : theme.textColor + onContainmentChanged: { containment.parent = root; containment.visible = true;