Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
5.14.0
Description
Palette properties to change the color of link and color of a visited link are not working as expected and mentioned in https://doc.qt.io/qt-5/qml-palette.html
import QtQuick 2.14 import QtQuick.Window 2.14 import QtQuick.Controls 2.14 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") Rectangle { anchors.fill: parent TextArea { anchors.fill: parent textFormat: TextEdit.RichText palette.link: "red" palette.linkVisited: "green" text: '<a href="http://google.com">This here</a>' readOnly: true onLinkActivated: Qt.openUrlExternally(link) } } }
Please find the attached sample, where link color is not impacted by these properties.