Use Text.PlainText as default for Text

This commit is contained in:
dsc 2018-12-12 11:13:02 +01:00
parent 03f09865e8
commit fe6ce682bf
No known key found for this signature in database
GPG key ID: 7BBC83D7A8810AAB

View file

@ -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
}
}