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 {
|
TabButton {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
property alias badge: statusBadge
|
readonly property alias badge: statusBadge
|
||||||
|
|
||||||
leftPadding: 12
|
leftPadding: 12
|
||||||
rightPadding: 12
|
rightPadding: 12
|
||||||
|
|
||||||
background: Item { }
|
background: Item { }
|
||||||
|
|
||||||
contentItem: Item {
|
contentItem: MouseArea {
|
||||||
implicitWidth: contentItemGrid.implicitWidth
|
implicitWidth: contentItemGrid.implicitWidth
|
||||||
implicitHeight: contentItemGrid.implicitHeight + 15
|
implicitHeight: contentItemGrid.implicitHeight + 15
|
||||||
|
|
||||||
|
cursorShape: Qt.PointingHandCursor
|
||||||
|
acceptedButtons: Qt.NoButton
|
||||||
|
enabled: root.enabled
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
id: contentItemGrid
|
id: contentItemGrid
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue