Minor improvements

- Rename TextDelegate to RichLabel since it's not actually a delegate
- Allow web search for whole messages
This commit is contained in:
Tobias Fella
2021-12-15 00:53:43 +01:00
parent 91f3f64bb5
commit 332d6c9782
6 changed files with 19 additions and 25 deletions

View File

@@ -75,11 +75,10 @@ MouseArea {
Component {
id: textComponent
TextDelegate {
RichLabel {
id: replyText
textMessage: reply.display
textFormat: Text.RichText
hasContextMenu: false
width: Math.min(implicitWidth, bubbleMaxWidth - Kirigami.Units.largeSpacing * 3)
x: Kirigami.Units.smallSpacing * 3 + replyAvatar.width
}