From 7bb0c588c15ba3c4b0bcaa47fd3d89cfd1a0f61e Mon Sep 17 00:00:00 2001 From: Felix Weilbach Date: Wed, 28 Jul 2021 10:57:58 +0200 Subject: [PATCH] Don't constrain size of hover background Signed-off-by: Felix Weilbach --- src/gui/tray/ActivityItem.qml | 4 +--- theme/Style/Style.qml | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gui/tray/ActivityItem.qml b/src/gui/tray/ActivityItem.qml index c107583ee..27bc435e7 100644 --- a/src/gui/tray/ActivityItem.qml +++ b/src/gui/tray/ActivityItem.qml @@ -11,10 +11,8 @@ MouseArea { hoverEnabled: true Rectangle { - anchors.left: activityMouseArea.left + anchors.fill: parent anchors.margins: 2 - width: Style.trayWindowMouseAreaWidth - height: Style.trayWindowHeaderHeight color: (parent.containsMouse ? Style.lightHover : "transparent") } diff --git a/theme/Style/Style.qml b/theme/Style/Style.qml index a1468d727..ea5aabde0 100644 --- a/theme/Style/Style.qml +++ b/theme/Style/Style.qml @@ -19,7 +19,6 @@ QtObject { // Dimensions and sizes property int trayWindowWidth: 400 - property int trayWindowMouseAreaWidth: 396 property int trayWindowHeight: 510 property int trayWindowRadius: 10 property int trayWindowBorderWidth: 1