Merge pull request #3596 from nextcloud/bugfix/main-dialog-dont-constrain-background-size

Don't constrain size of hover background
This commit is contained in:
Matthieu Gallien 2021-07-28 12:44:39 +02:00 committed by GitHub
commit 8d5612219c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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