aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-03-22 00:22:43 +0300
committerlink2xt <link2xt@testrun.org>2021-03-22 00:22:57 +0300
commit960cac418446a774b567bc19d4d75e172f62e866 (patch)
tree5aa10085ca10c5d327c3e34c9500214d01c09e6c
parent823274fb2f319010669a0fecccabdce1548ff5d3 (diff)
downloadkdeltachat-960cac418446a774b567bc19d4d75e172f62e866.tar.gz
kdeltachat-960cac418446a774b567bc19d4d75e172f62e866.zip
Move fillWidth from ComposePane to it's instance at ChatPage
ComposePane is not necessarily placed into Layout.
-rw-r--r--qml/ChatPage.qml1
-rw-r--r--qml/ComposePane.qml5
2 files changed, 3 insertions, 3 deletions
diff --git a/qml/ChatPage.qml b/qml/ChatPage.qml
index 431c92f..834f58d 100644
--- a/qml/ChatPage.qml
+++ b/qml/ChatPage.qml
@@ -112,6 +112,7 @@ Kirigami.ScrollablePage {
context: chatPage.context
chatId: chatPage.chatId
+ Layout.fillWidth: true
visible: chatPage.chat && chatPage.chat.canSend
}
}
diff --git a/qml/ComposePane.qml b/qml/ComposePane.qml
index aeecc68..54480d5 100644
--- a/qml/ComposePane.qml
+++ b/qml/ComposePane.qml
@@ -5,12 +5,11 @@ import QtQuick.Layouts 1.12
import DeltaChat 1.0
Pane {
- Layout.fillWidth: true
- padding: 0
-
required property DcContext context
required property var chatId
+ padding: 0
+
RowLayout {
width: parent.width