aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qml/ChatPage.qml1
-rw-r--r--qml/Message.qml1
2 files changed, 1 insertions, 1 deletions
diff --git a/qml/ChatPage.qml b/qml/ChatPage.qml
index dfa5a4c..3099488 100644
--- a/qml/ChatPage.qml
+++ b/qml/ChatPage.qml
@@ -105,6 +105,7 @@ Kirigami.ScrollablePage {
delegate: Message {
message: chatPage.context.getMessage(msgId)
context: chatPage.context
+ width: ListView.view.width
}
}
diff --git a/qml/Message.qml b/qml/Message.qml
index feed6c8..417c086 100644
--- a/qml/Message.qml
+++ b/qml/Message.qml
@@ -18,7 +18,6 @@ RowLayout {
readonly property DcMessage quoteMessage: message.quotedMessage
readonly property DcContact quoteFrom: quoteMessage ? context.getContact(quoteMessage.fromId) : null
- width: ListView.view.width
layoutDirection: message.fromId == 1 ? Qt.RightToLeft : Qt.LeftToRight
readonly property string overrideName: message.getOverrideSenderName()