Commit db009f5a authored by Konrad Materka's avatar Konrad Materka

[applets/systemtray] Make highlight wider

Make current item highlight wider, to fill width of active area of applet.

BUG: 427638
FIXED-IN: 5.21
parent ec937ad4
......@@ -132,6 +132,7 @@ PlasmaCore.ToolTipArea {
Item {
id: iconContainer
property alias container: abstractItem
property alias inVisibleLayout: abstractItem.inVisibleLayout
readonly property int size: abstractItem.inVisibleLayout ? root.itemSize : units.iconSizes.medium
......
......@@ -90,7 +90,7 @@ MouseArea {
onActiveAppletChanged: {
if (activeApplet && activeApplet.parent.inVisibleLayout) {
changeHighlightedItem(activeApplet.parent);
changeHighlightedItem(activeApplet.parent.container);
} else if (dialog.visible) {
changeHighlightedItem(root);
}
......
Markdown is supported
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