From 5b09dd1a112d9910e0fa032f5708fc32d4cd0682 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Wed, 9 Mar 2022 18:36:01 +0100 Subject: [PATCH] Fix a few alignment issues in the roomlist --- resources/qml/RoomList.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/qml/RoomList.qml b/resources/qml/RoomList.qml index d5129db6..702d77e5 100644 --- a/resources/qml/RoomList.qml +++ b/resources/qml/RoomList.qml @@ -278,10 +278,11 @@ Page { RowLayout { Layout.alignment: Qt.AlignTop Layout.fillWidth: true - spacing: 0 + spacing: Nheko.paddingSmall ElidedLabel { - Layout.alignment: Qt.AlignBottom + id: rN + Layout.alignment: Qt.AlignBaseline color: roomItem.importantText elideWidth: width fullText: roomName @@ -294,7 +295,7 @@ Page { visible: !isInvite && !isSpace width: visible ? 0 : undefined - Layout.alignment: Qt.AlignRight | Qt.AlignBottom + Layout.alignment: Qt.AlignRight | Qt.AlignBaseline font.pixelSize: fontMetrics.font.pixelSize * 0.9 color: roomItem.unimportantText text: time