[network/kaidan/Kaidan/0.16] src/qml/elements: ChatMessage: Fix displaying marked message area

Melvin Keskin <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 2142d62023381b1eeca8af8f9f23e23c15f9c6c6 by Melvin Keskin.
Committed on 21/07/2026 at 21:40.
Pushed by melvo into branch 'Kaidan/0.16'.

ChatMessage: Fix displaying marked message area

M  +1    -1    src/qml/elements/ChatMessage.qml

https://invent.kde.org/network/kaidan/-/commit/2142d62023381b1eeca8af8f9f23e23c15f9c6c6

diff --git a/src/qml/elements/ChatMessage.qml b/src/qml/elements/ChatMessage.qml
index 80730d138..1a05e26b8 100644
--- a/src/qml/elements/ChatMessage.qml
+++ b/src/qml/elements/ChatMessage.qml
@@ -64,7 +64,7 @@ Controls.ItemDelegate {
 	property bool isGroupBegin: determineMessageGroupDelimiter(messageListView.count - 1, 1)
 	property bool isGroupEnd: determineMessageGroupDelimiter()
 	property real bubblePadding: Kirigami.Units.smallSpacing
-	property real maximumBubbleContentWidth: width - Kirigami.Units.largeSpacing * (root.isGroupChatMessage && !root.isOwn ? 14 : 8 + (markedMessageArea.visible ? 2 : 0))
+	property real maximumBubbleContentWidth: width - Kirigami.Units.largeSpacing * ((markedMessageArea.visible ? 3 : 0) + (isGroupChatMessage && !isOwn ? 14 : 8))
 	property ChatMessageContextMenu contextMenu
 
 	signal openMediaViewerRequested(fileId: string)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.