From 72b90bdf5c6f243cf43f578d6905562ea708d759 Mon Sep 17 00:00:00 2001 From: James Graham Date: Sun, 7 Apr 2024 12:59:33 +0100 Subject: [PATCH] Fix gaps at the top and bottom of SpaceHomePage witht he wrong background colour. Note: the bottom gap only happened after a room was loaded for the first time --- src/qml/RoomPage.qml | 1 + src/qml/SpaceHomePage.qml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/RoomPage.qml b/src/qml/RoomPage.qml index bc164578a..236bdc9b1 100644 --- a/src/qml/RoomPage.qml +++ b/src/qml/RoomPage.qml @@ -174,6 +174,7 @@ Kirigami.Page { footer: Loader { id: chatBarLoader + height: active ? item.implicitHeight : 0 active: timelineViewLoader.active && !root.currentRoom.readOnly sourceComponent: ChatBar { id: chatBar diff --git a/src/qml/SpaceHomePage.qml b/src/qml/SpaceHomePage.qml index f43c3c9a1..8f2df3629 100644 --- a/src/qml/SpaceHomePage.qml +++ b/src/qml/SpaceHomePage.qml @@ -22,7 +22,6 @@ ColumnLayout { QQC2.Control { id: headerItem Layout.fillWidth: true - Layout.topMargin: Kirigami.Units.smallSpacing implicitHeight: headerColumn.implicitHeight background: Rectangle {