Commit a0c8d4b2 authored by Nate Graham's avatar Nate Graham
Browse files

WindowHeap: expand size of highlight

Currently, the highlight effect is not very visible because it only
barely peeks out of the window thumbnail. We can make it bigger by
making it peek out a little bit more, and also by including the window
title and icon (when visible) within it.

BUG: 454842
parent 131b9d22
Pipeline #206209 passed with stage
in 13 minutes and 20 seconds
......@@ -104,7 +104,7 @@ FocusScope {
y: heap.padding
width: parent.width - 2 * heap.padding
height: parent.height - 2 * heap.padding
spacing: PlasmaCore.Units.largeSpacing
spacing: PlasmaCore.Units.smallSpacing * 5
Repeater {
id: windowsRepeater
......
......@@ -283,8 +283,13 @@ Item {
PlasmaCore.FrameSvgItem {
anchors.fill: parent
anchors.margins: -PlasmaCore.Units.smallSpacing
anchors {
fill: parent
topMargin: -PlasmaCore.Units.smallSpacing * 2
leftMargin: -PlasmaCore.Units.smallSpacing * 2
rightMargin: -PlasmaCore.Units.smallSpacing * 2
bottomMargin: -(Math.round(icon.height / 4) + caption.height + (PlasmaCore.Units.smallSpacing * 2))
}
imagePath: "widgets/viewitem"
prefix: "hover"
z: -1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment