Skip to content
Permalink
Browse files

Label: change cursor on link hover

  • Loading branch information
selsta committed Nov 27, 2019
1 parent d5f4d5d commit 4cc3d3f3e2b8712e851ed91f60b7fbc20c7ae07a
Showing with 5 additions and 0 deletions.
  1. +5 −0 components/Label.qml
@@ -69,5 +69,10 @@ Item {
color: fontColor
onLinkActivated: item.linkActivated()
textFormat: parent.textFormat
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.NoButton
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
}
}
}

0 comments on commit 4cc3d3f

Please sign in to comment.
You can’t perform that action at this time.