aboutsummaryrefslogtreecommitdiff
path: root/qml/ChatPage.qml
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-03-02 20:31:33 +0300
committerlink2xt <link2xt@testrun.org>2021-03-02 20:31:33 +0300
commit14514c6bcc251f5e4ee61ba0a56087bb198f7d0d (patch)
tree0383ee7b42de03f00db60e564e42eda5fb89fc01 /qml/ChatPage.qml
parentae484d98e4067c514f9771eacb4714505eca84de (diff)
downloadkdeltachat-14514c6bcc251f5e4ee61ba0a56087bb198f7d0d.tar.gz
kdeltachat-14514c6bcc251f5e4ee61ba0a56087bb198f7d0d.zip
Turn ChatPage and ChatlistPage into scrollable pages
This removes unnecessary padding between the window boundary and the scrollbar.
Diffstat (limited to 'qml/ChatPage.qml')
-rw-r--r--qml/ChatPage.qml4
1 files changed, 1 insertions, 3 deletions
diff --git a/qml/ChatPage.qml b/qml/ChatPage.qml
index 712a75c..fd6c154 100644
--- a/qml/ChatPage.qml
+++ b/qml/ChatPage.qml
@@ -6,7 +6,7 @@ import org.kde.kirigami 2.12 as Kirigami
import DeltaChat 1.0
-Kirigami.Page {
+Kirigami.ScrollablePage {
id: chatPage
title: chat ? chat.name : qsTr("Chat")
@@ -144,8 +144,6 @@ Kirigami.Page {
verticalLayoutDirection: ListView.BottomToTop
delegate: Message {message: context.getMessage(msgId)}
-
- ScrollBar.vertical: ScrollBar {}
}
footer: Loader {