From 6d31c48522bb52b5dd18717c44362de1e9b5b0a2 Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Tue, 5 Dec 2017 01:28:24 +0100 Subject: [PATCH] LineEdit: cursor: pointer for QML rich text on input labels --- components/LineEdit.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/LineEdit.qml b/components/LineEdit.qml index c4bfdfc2..5f636a06 100644 --- a/components/LineEdit.qml +++ b/components/LineEdit.qml @@ -96,6 +96,12 @@ Item { textFormat: Text.RichText color: "white" onLinkActivated: item.labelLinkActivated() + + MouseArea { + anchors.fill: parent + acceptedButtons: Qt.NoButton + cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor + } } Item{