aboutsummaryrefslogtreecommitdiff
path: root/components/Label.qml
diff options
context:
space:
mode:
authordsc <xmrdsc@protonmail.com>2018-12-12 11:13:02 +0100
committerdsc <xmrdsc@protonmail.com>2018-12-12 11:41:52 +0100
commitfe6ce682bfd03b09b035f68944225a18b45e9873 (patch)
tree29b645d239d1bbf7ac42e4efd279658731235369 /components/Label.qml
parent03f09865e8ef5662ceccb5e1d2353d7511e2e9ab (diff)
downloadmonzero-gui-fe6ce682bfd03b09b035f68944225a18b45e9873.tar.gz
monzero-gui-fe6ce682bfd03b09b035f68944225a18b45e9873.tar.xz
monzero-gui-fe6ce682bfd03b09b035f68944225a18b45e9873.zip
Use Text.PlainText as default for Text
Diffstat (limited to 'components/Label.qml')
-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
}
}