Unverified Commit 2562a928 authored by Linus Jahn's avatar Linus Jahn 🔌
Browse files

qml: Use Text.StyledText instead of Text.RichText

This is a minor performance improvement without a visual change.
parent e225282a
......@@ -72,7 +72,7 @@ Controls.Dialog {
Controls.Label {
text: "<i>" + qsTr("A simple, user-friendly Jabber/XMPP client") + "</i>"
textFormat: Text.RichText
textFormat: Text.StyledText
wrapMode: Text.WordWrap
Layout.fillWidth: true
horizontalAlignment: Qt.AlignHCenter
......@@ -80,7 +80,7 @@ Controls.Dialog {
Controls.Label {
text: "<b>" + qsTr("License:") + "</b> GPLv3+ / CC BY-SA 4.0"
textFormat: Text.RichText
textFormat: Text.StyledText
wrapMode: Text.WordWrap
Layout.fillWidth: true
horizontalAlignment: Qt.AlignHCenter
......
......@@ -133,7 +133,7 @@ Kirigami.Page {
anchors.centerIn: connectButton
text: qsTr("Connect")
color: Kirigami.Theme.highlightedTextColor
textFormat: Text.RichText
textFormat: Text.StyledText
}
}
......
......@@ -51,7 +51,7 @@ Kirigami.OverlaySheet {
Controls.Label {
id: infoLabel
text: ""
textFormat: Text.RichText
textFormat: Text.StyledText
wrapMode: Text.WordWrap
Layout.fillWidth: true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment