From 25e552c6fa674a9c1b581a85a46cfe4d9f0ffa83 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Mon, 9 Sep 2024 23:30:17 +0200 Subject: [PATCH] Fix default insets on Qt6.7 in room and communities list --- resources/qml/CommunitiesList.qml | 5 +++++ resources/qml/RoomList.qml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/resources/qml/CommunitiesList.qml b/resources/qml/CommunitiesList.qml index c9f259e2..d95b8e6d 100644 --- a/resources/qml/CommunitiesList.qml +++ b/resources/qml/CommunitiesList.qml @@ -61,6 +61,11 @@ Page { state: "normal" width: ListView.view.width - ((scrollbar.interactive && scrollbar.visible && scrollbar.parent) ? scrollbar.width : 0) + topInset: 0 + bottomInset: 0 + leftInset: 0 + rightInset: 0 + background: Rectangle { color: communityItem.backgroundColor } diff --git a/resources/qml/RoomList.qml b/resources/qml/RoomList.qml index c82bc43a..746dd164 100644 --- a/resources/qml/RoomList.qml +++ b/resources/qml/RoomList.qml @@ -477,6 +477,11 @@ Page { state: "normal" width: ListView.view.width - ((scrollbar.interactive && scrollbar.visible && scrollbar.parent) ? scrollbar.width : 0) + topInset: 0 + bottomInset: 0 + leftInset: 0 + rightInset: 0 + background: Rectangle { color: backgroundColor }