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 Michał Cieślak
parent dc45e275f1
commit 508b3f35cf
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