Use Text.PlainText as default for Text

pull/2/head
dsc 6 years ago
parent 03f09865e8
commit fe6ce682bf
No known key found for this signature in database
GPG Key ID: 7BBC83D7A8810AAB

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