Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Rich Text Link Active Color

$
0
0
I am using the Text Qml item and am trying to style the link color when the link is pressed. I am using the below text with css, but only the link color is changed. Is this something that isn’t supported, or is there a way to change the link active color? Text {     anchors.fill: parent     color: "white"     text: '<html><style type="text/css">a:link {color:green;}a:active {color:yellow;}</style><body>Sample text with a phone number: <a href="(805)-646-7482">(805)-646-7482</a></body></html>'     textFormat: Text.RichText }

Viewing all articles
Browse latest Browse all 4972

Trending Articles