Add an option to use RichText instead of StyledText.

This fixes empty space issue at a cost of reduced performance.
This commit is contained in:
Black Hat
2018-08-18 17:56:55 +08:00
parent 3a7f182c52
commit 9f46bf8c42
4 changed files with 8 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ Rectangle {
wrapMode: Label.Wrap
linkColor: darkBackground ? "white" : Material.accent
textFormat: Text.StyledText
textFormat: setting.richText ? Text.RichText : Text.StyledText
onLinkActivated: Qt.openUrlExternally(link)
}