Commit db009f5a authored by Konrad Materka's avatar Konrad Materka
Browse files

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