Skip to content
Snippets Groups Projects
Commit 0b96cf5f authored by Sébastien Blin's avatar Sébastien Blin
Browse files

SBSMessageBase: add text metrics on author

Change-Id: Idf3aee2c667c86ea9a224d68624f733a2250e83a
GitLab: #1551
parent 07e0b104
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,16 @@ Control {
Label {
id: username
text: UtilsAdapter.getBestNameForUri(CurrentAccount.id, Author)
wrapMode: Text.NoWrap
text: textMetricsUsername.elidedText
TextMetrics {
id: textMetricsUsername
text: UtilsAdapter.getBestNameForUri(CurrentAccount.id, Author)
elideWidth: 200
elide: Qt.ElideMiddle
}
visible: (seq === MsgSeq.first || seq === MsgSeq.single) && !isOutgoing && !isReply
font.pointSize: JamiTheme.smallFontSize
......
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