Don't constrain size of hover background
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
This commit is contained in:
parent
d5857730d1
commit
7bb0c588c1
|
@ -11,10 +11,8 @@ MouseArea {
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.left: activityMouseArea.left
|
anchors.fill: parent
|
||||||
anchors.margins: 2
|
anchors.margins: 2
|
||||||
width: Style.trayWindowMouseAreaWidth
|
|
||||||
height: Style.trayWindowHeaderHeight
|
|
||||||
color: (parent.containsMouse ? Style.lightHover : "transparent")
|
color: (parent.containsMouse ? Style.lightHover : "transparent")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,6 @@ QtObject {
|
||||||
|
|
||||||
// Dimensions and sizes
|
// Dimensions and sizes
|
||||||
property int trayWindowWidth: 400
|
property int trayWindowWidth: 400
|
||||||
property int trayWindowMouseAreaWidth: 396
|
|
||||||
property int trayWindowHeight: 510
|
property int trayWindowHeight: 510
|
||||||
property int trayWindowRadius: 10
|
property int trayWindowRadius: 10
|
||||||
property int trayWindowBorderWidth: 1
|
property int trayWindowBorderWidth: 1
|
||||||
|
|
Loading…
Reference in New Issue