Don't constrain size of hover background
authorFelix Weilbach <felix.weilbach@nextcloud.com>
Wed, 28 Jul 2021 08:57:58 +0000 (10:57 +0200)
committerMatthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr>
Wed, 28 Jul 2021 10:29:04 +0000 (10:29 +0000)
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
src/gui/tray/ActivityItem.qml
theme/Style/Style.qml

index c107583ee0a2f248620f443f117b61ea1c9c888d..27bc435e7430ef24e9d99929f8f82295ea0b1ed9 100644 (file)
@@ -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")
     }
         
index a1468d7272c38c00670c0017eb8fe5e3612fb10a..ea5aabde0236a4ac4ef36b782310d1a482dc402d 100644 (file)
@@ -19,7 +19,6 @@ QtObject {
 \r
     // Dimensions and sizes\r
     property int trayWindowWidth: 400\r
-    property int trayWindowMouseAreaWidth: 396\r
     property int trayWindowHeight: 510\r
     property int trayWindowRadius: 10\r
     property int trayWindowBorderWidth: 1\r