From b40a1fbdf014a4abeb7733d4158f8934325d723a Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Fri, 25 Sep 2020 10:43:31 -0600 Subject: [PATCH] Use Header colors in PlasmoidHeading headers This brings applets with distinct heading areas into visual consistency with windows, once the Tools Area MR lands. When using a color scheme that lacks Header colors, there is no visual change whatsoever. --- .../plasmaextracomponents/qml/PlasmoidHeading.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/declarativeimports/plasmaextracomponents/qml/PlasmoidHeading.qml b/src/declarativeimports/plasmaextracomponents/qml/PlasmoidHeading.qml index 511df8239..4713080b4 100644 --- a/src/declarativeimports/plasmaextracomponents/qml/PlasmoidHeading.qml +++ b/src/declarativeimports/plasmaextracomponents/qml/PlasmoidHeading.qml @@ -55,6 +55,10 @@ import QtQuick.Templates 2.12 as T visible: fromCurrentTheme imagePath: "widgets/plasmoidheading" prefix: location == PlasmoidHeading.Location.Header? 'header' : 'footer' + + colorGroup: location == PlasmoidHeading.Location.Header ? PlasmaCore.Theme.HeaderColorGroup : PlasmaCore.Theme.WindowColorGroup + PlasmaCore.ColorScope.inherit: false + enabledBorders: { var borders = 0 borders |= PlasmaCore.FrameSvg.LeftBorder