diff --git a/src/gui/Pages/Chat/Timeline/HistoryContent.qml b/src/gui/Pages/Chat/Timeline/HistoryContent.qml index 7016932a..308f99cf 100644 --- a/src/gui/Pages/Chat/Timeline/HistoryContent.qml +++ b/src/gui/Pages/Chat/Timeline/HistoryContent.qml @@ -48,19 +48,7 @@ HRowLayout { readonly property alias contentLabel: contentLabel - readonly property int xOffset: - onRight ? - Math.min( - contentColumn.width - contentLabel.paintedWidth - - contentLabel.leftPadding - contentLabel.rightPadding, - - contentColumn.width - linksRepeater.widestChild - - ( - pureMedia ? - 0 : contentLabel.leftPadding + contentLabel.rightPadding - ), - ) : - 0 + readonly property int xOffset: 0 readonly property int maxMessageWidth: contentText.includes("
") || contentText.includes("") ?
@@ -75,7 +63,7 @@ HRowLayout {
     readonly property alias selectedText: contentLabel.selectedPlainText
 
     spacing: theme.chat.message.horizontalSpacing
-    layoutDirection: onRight ? Qt.RightToLeft: Qt.LeftToRight
+    layoutDirection: Qt.LeftToRight
 
     HColumnLayout {
         id: contentColumn