diff options
| author | dsc <xmrdsc@protonmail.com> | 2018-12-12 11:13:02 +0100 |
|---|---|---|
| committer | dsc <xmrdsc@protonmail.com> | 2018-12-12 11:41:52 +0100 |
| commit | fe6ce682bfd03b09b035f68944225a18b45e9873 (patch) | |
| tree | 29b645d239d1bbf7ac42e4efd279658731235369 | |
| parent | 03f09865e8ef5662ceccb5e1d2353d7511e2e9ab (diff) | |
| download | monzero-gui-fe6ce682bfd03b09b035f68944225a18b45e9873.tar.gz monzero-gui-fe6ce682bfd03b09b035f68944225a18b45e9873.tar.xz monzero-gui-fe6ce682bfd03b09b035f68944225a18b45e9873.zip | |
Use Text.PlainText as default for Text
| -rw-r--r-- | components/Label.qml | 3 |
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 } } |
