Skip to content
Snippets Groups Projects
Commit eced5c83 authored by Loren Burkholder's avatar Loren Burkholder
Browse files

Elide nicks and userids in read reciepts dialog

parent 0e345366
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment