Use StyledText instead of RichText for qml backend(make things easyier)

This commit is contained in:
Patrick von Reth 2015-09-14 18:32:10 +02:00
parent e3a479c4f6
commit 447b6ef163
1 changed files with 4 additions and 4 deletions

View File

@ -74,9 +74,9 @@ Rectangle {
anchors.topMargin: snoreMargin / 2
anchors.left: image.right
anchors.right: closeButton.left
textFormat: Text.RichText
textFormat: Text.StyledText
font.family: snoreFont
clip: true
elide: Text.ElideRight
}
Text {
@ -91,10 +91,10 @@ Rectangle {
anchors.margins: snoreMargin
anchors.topMargin: snoreMargin / 2
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
maximumLineCount: height / font.pixelSize - 1
onLinkActivated: Qt.openUrlExternally(link)
textFormat: Text.RichText
textFormat: Text.StyledText
font.family: snoreFont
elide: Text.ElideRight
}