From fe6ce682bfd03b09b035f68944225a18b45e9873 Mon Sep 17 00:00:00 2001 From: dsc Date: Wed, 12 Dec 2018 11:13:02 +0100 Subject: [PATCH] Use Text.PlainText as default for Text --- components/Label.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/Label.qml b/components/Label.qml index 5b0a25c9..1edc14e8 100644 --- a/components/Label.qml +++ b/components/Label.qml @@ -35,7 +35,7 @@ Item { id: item property alias text: label.text property alias color: label.color - property alias textFormat: label.textFormat + property int textFormat: Text.PlainText property string tipText: "" property int fontSize: 16 * scaleRatio property bool fontBold: false @@ -65,5 +65,6 @@ Item { font.bold: fontBold color: fontColor onLinkActivated: item.linkActivated() + textFormat: parent.textFormat } }