fix(StatusTabButton): display hand cursor on hover when enabled (#859)

Needed for https://github.com/status-im/status-desktop/issues/6787
This commit is contained in:
Michał 2022-08-22 14:35:36 +02:00 committed by GitHub
parent be24401a50
commit 89049fd56b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -25,17 +25,21 @@ import StatusQ.Components 0.1
TabButton {
id: root
property alias badge: statusBadge
readonly property alias badge: statusBadge
leftPadding: 12
rightPadding: 12
background: Item { }
contentItem: Item {
contentItem: MouseArea {
implicitWidth: contentItemGrid.implicitWidth
implicitHeight: contentItemGrid.implicitHeight + 15
cursorShape: Qt.PointingHandCursor
acceptedButtons: Qt.NoButton
enabled: root.enabled
RowLayout {
id: contentItemGrid