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:
parent
be24401a50
commit
89049fd56b
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user