From 01b0d78f7b62098809d6dea962b28c0872a649c1 Mon Sep 17 00:00:00 2001 From: Konstantinos Karmas Date: Tue, 24 Aug 2021 13:31:39 +0200 Subject: [PATCH] Use custom style for the links in the what's new textArea A style had to be prepended in the text to make sure that it adheres to the style we want instead of using the OS-based link style. Note: For some reason QML ignores all other link-style tags (such as `a:hover`, `a:focus` etc) apart from `a:link`, so we can only change the style for the normal link and NOT for when it is clicked or hovered. CURA-8380 --- resources/qml/WelcomePages/WhatsNewContent.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/WelcomePages/WhatsNewContent.qml b/resources/qml/WelcomePages/WhatsNewContent.qml index f5ce72997f..179fc372c9 100644 --- a/resources/qml/WelcomePages/WhatsNewContent.qml +++ b/resources/qml/WelcomePages/WhatsNewContent.qml @@ -119,7 +119,7 @@ Item do_borders: false textArea.wrapMode: TextEdit.Wrap - textArea.text: manager.getSubpageText(index) + textArea.text: "" + manager.getSubpageText(index) textArea.textFormat: Text.RichText textArea.readOnly: true textArea.font: UM.Theme.getFont("default")