diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-02-26 16:06:20 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-02-26 16:06:33 +0100 |
commit | d84502737bb0237c4c40f99263fc3771fde78c33 (patch) | |
tree | 2e996d70ae46118739a7a921bb3e35386b7ede61 /resources/qml | |
parent | Translated using Weblate (Indonesian) (diff) | |
download | nheko-d84502737bb0237c4c40f99263fc3771fde78c33.tar.xz |
Fix misalignment in room list tiles
Diffstat (limited to 'resources/qml')
-rw-r--r-- | resources/qml/RoomList.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/resources/qml/RoomList.qml b/resources/qml/RoomList.qml index f263c59b..d5129db6 100644 --- a/resources/qml/RoomList.qml +++ b/resources/qml/RoomList.qml @@ -272,9 +272,11 @@ Page { Layout.minimumWidth: 100 width: parent.width - avatar.width Layout.preferredWidth: parent.width - avatar.width - spacing: Nheko.paddingMedium + height: avatar.height + spacing: Nheko.paddingSmall RowLayout { + Layout.alignment: Qt.AlignTop Layout.fillWidth: true spacing: 0 @@ -305,6 +307,7 @@ Page { spacing: 0 visible: !isSpace height: visible ? 0 : undefined + Layout.alignment: Qt.AlignBottom ElidedLabel { color: roomItem.unimportantText @@ -320,6 +323,7 @@ Page { visible: notificationCount > 0 Layout.alignment: Qt.AlignRight + Layout.leftMargin: Nheko.paddingSmall height: notificationBubbleText.height + Nheko.paddingMedium Layout.preferredWidth: Math.max(notificationBubbleText.width, height) radius: height / 2 |