1 files changed, 9 insertions, 6 deletions
diff --git a/resources/qml/dialogs/ReadReceipts.qml b/resources/qml/dialogs/ReadReceipts.qml
index f90da997..3d23a5fc 100644
--- a/resources/qml/dialogs/ReadReceipts.qml
+++ b/resources/qml/dialogs/ReadReceipts.qml
@@ -78,6 +78,8 @@ ApplicationWindow {
anchors.margins: Nheko.paddingSmall
Avatar {
+ id: avatar
+
width: Nheko.avatarSize
height: Nheko.avatarSize
userid: model.mxid
@@ -88,25 +90,26 @@ ApplicationWindow {
ColumnLayout {
spacing: Nheko.paddingSmall
+ Layout.fillWidth: true
- Label {
+ ElidedLabel {
text: model.displayName
color: TimelineManager.userColor(model ? model.mxid : "", Nheko.colors.window)
font.pointSize: fontMetrics.font.pointSize
+ elideWidth: del.width - Nheko.paddingMedium - avatar.width
+ Layout.fillWidth: true
}
- Label {
+ ElidedLabel {
text: model.timestamp
color: Nheko.colors.buttonText
font.pointSize: fontMetrics.font.pointSize * 0.9
+ elideWidth: del.width - Nheko.paddingMedium - avatar.width
+ Layout.fillWidth: true
}
}
- Item {
- Layout.fillWidth: true
- }
-
}
CursorShape {
|