Small UI improvement.

This commit is contained in:
Black Hat
2018-07-20 22:36:19 +08:00
parent c330bb4ff5
commit 7837c2d75e
6 changed files with 53 additions and 11 deletions

View File

@@ -27,6 +27,7 @@ AvatarContainer {
linkColor: isNotice || sentByMe ? Material.accent : "white"
// textFormat: contentType === "text/html" ? Text.RichText : Text.StyledText
textFormat: Text.StyledText
onLinkActivated: Qt.openUrlExternally(link)
}
}
}

View File

@@ -21,5 +21,6 @@ Rectangle {
anchors.margins: 12
wrapMode: Label.Wrap
textFormat: Text.StyledText
onLinkActivated: Qt.openUrlExternally(link)
}
}