mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 06:08:48 +03:00
Fix a few alignment issues in the roomlist
This commit is contained in:
parent
23f049e5c0
commit
5b09dd1a11
1 changed files with 4 additions and 3 deletions
|
@ -278,10 +278,11 @@ Page {
|
||||||
RowLayout {
|
RowLayout {
|
||||||
Layout.alignment: Qt.AlignTop
|
Layout.alignment: Qt.AlignTop
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
spacing: 0
|
spacing: Nheko.paddingSmall
|
||||||
|
|
||||||
ElidedLabel {
|
ElidedLabel {
|
||||||
Layout.alignment: Qt.AlignBottom
|
id: rN
|
||||||
|
Layout.alignment: Qt.AlignBaseline
|
||||||
color: roomItem.importantText
|
color: roomItem.importantText
|
||||||
elideWidth: width
|
elideWidth: width
|
||||||
fullText: roomName
|
fullText: roomName
|
||||||
|
@ -294,7 +295,7 @@ Page {
|
||||||
|
|
||||||
visible: !isInvite && !isSpace
|
visible: !isInvite && !isSpace
|
||||||
width: visible ? 0 : undefined
|
width: visible ? 0 : undefined
|
||||||
Layout.alignment: Qt.AlignRight | Qt.AlignBottom
|
Layout.alignment: Qt.AlignRight | Qt.AlignBaseline
|
||||||
font.pixelSize: fontMetrics.font.pixelSize * 0.9
|
font.pixelSize: fontMetrics.font.pixelSize * 0.9
|
||||||
color: roomItem.unimportantText
|
color: roomItem.unimportantText
|
||||||
text: time
|
text: time
|
||||||
|
|
Loading…
Reference in a new issue