aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/Label.qml3
1 files changed, 2 insertions, 1 deletions
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
}
}