From 960cac418446a774b567bc19d4d75e172f62e866 Mon Sep 17 00:00:00 2001 From: link2xt Date: Mon, 22 Mar 2021 00:22:43 +0300 Subject: Move fillWidth from ComposePane to it's instance at ChatPage ComposePane is not necessarily placed into Layout. --- qml/ChatPage.qml | 1 + qml/ComposePane.qml | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'qml') 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 -- cgit v1.2.3-70-g09d2