Fix a few alignment issues in the roomlist

This commit is contained in:
Nicolas Werner 2022-03-09 18:36:01 +01:00
parent 23f049e5c0
commit 5b09dd1a11
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -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