Don't constrain size of hover background

Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
This commit is contained in:
Felix Weilbach 2021-07-28 10:57:58 +02:00 committed by Matthieu Gallien (Rebase PR Action)
parent d5857730d1
commit 7bb0c588c1
2 changed files with 1 additions and 4 deletions

View 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")
}

View File

@ -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