Make sure that contentMaxWidth is used instead of bubbleMaxWidth for the message delegate.

This commit is contained in:
James Graham
2022-09-27 20:33:38 +01:00
committed by Tobias Fella
parent 17240ea8a6
commit 058e8034d9
3 changed files with 4 additions and 3 deletions

View File

@@ -20,13 +20,14 @@ TimelineContainer {
hoverComponent: hoverActions
innerObject: ColumnLayout {
Layout.maximumWidth: messageDelegate.contentMaxWidth
RichLabel {
id: label
isEmote: messageDelegate.isEmote
Layout.maximumWidth: messageDelegate.bubbleMaxWidth
}
Loader {
id: linkPreviewLoader
Layout.fillWidth: true
height: active ? item.implicitHeight : 0
active: !currentRoom.usesEncryption && model.display && model.display.includes("http")
visible: active