|
|
@ -272,9 +272,11 @@ Page { |
|
|
|
Layout.minimumWidth: 100 |
|
|
|
Layout.minimumWidth: 100 |
|
|
|
width: parent.width - avatar.width |
|
|
|
width: parent.width - avatar.width |
|
|
|
Layout.preferredWidth: parent.width - avatar.width |
|
|
|
Layout.preferredWidth: parent.width - avatar.width |
|
|
|
spacing: Nheko.paddingMedium |
|
|
|
height: avatar.height |
|
|
|
|
|
|
|
spacing: Nheko.paddingSmall |
|
|
|
|
|
|
|
|
|
|
|
RowLayout { |
|
|
|
RowLayout { |
|
|
|
|
|
|
|
Layout.alignment: Qt.AlignTop |
|
|
|
Layout.fillWidth: true |
|
|
|
Layout.fillWidth: true |
|
|
|
spacing: 0 |
|
|
|
spacing: 0 |
|
|
|
|
|
|
|
|
|
|
@ -305,6 +307,7 @@ Page { |
|
|
|
spacing: 0 |
|
|
|
spacing: 0 |
|
|
|
visible: !isSpace |
|
|
|
visible: !isSpace |
|
|
|
height: visible ? 0 : undefined |
|
|
|
height: visible ? 0 : undefined |
|
|
|
|
|
|
|
Layout.alignment: Qt.AlignBottom |
|
|
|
|
|
|
|
|
|
|
|
ElidedLabel { |
|
|
|
ElidedLabel { |
|
|
|
color: roomItem.unimportantText |
|
|
|
color: roomItem.unimportantText |
|
|
@ -320,6 +323,7 @@ Page { |
|
|
|
|
|
|
|
|
|
|
|
visible: notificationCount > 0 |
|
|
|
visible: notificationCount > 0 |
|
|
|
Layout.alignment: Qt.AlignRight |
|
|
|
Layout.alignment: Qt.AlignRight |
|
|
|
|
|
|
|
Layout.leftMargin: Nheko.paddingSmall |
|
|
|
height: notificationBubbleText.height + Nheko.paddingMedium |
|
|
|
height: notificationBubbleText.height + Nheko.paddingMedium |
|
|
|
Layout.preferredWidth: Math.max(notificationBubbleText.width, height) |
|
|
|
Layout.preferredWidth: Math.max(notificationBubbleText.width, height) |
|
|
|
radius: height / 2 |
|
|
|
radius: height / 2 |
|
|
|