diff options
author | link2xt <link2xt@testrun.org> | 2021-06-27 11:57:39 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-06-27 11:57:39 +0300 |
commit | d5d8f9a4abd6ee9c2cf2e7b938b6dd8313dc5794 (patch) | |
tree | d153af8710ba2b26cdb73d0e63f8344639176c4e | |
parent | fcad46f571e1a02d6abeb5004866ae929f64f63f (diff) | |
download | kdeltachat-d5d8f9a4abd6ee9c2cf2e7b938b6dd8313dc5794.tar.gz kdeltachat-d5d8f9a4abd6ee9c2cf2e7b938b6dd8313dc5794.zip |
Reference ListView from ChatPage instead of Message
-rw-r--r-- | qml/ChatPage.qml | 1 | ||||
-rw-r--r-- | qml/Message.qml | 1 |
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() |