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

replytorow: fix elideRight

Else, the text was overflowing

Change-Id: Idd27682d612cc35fce045967025df49ad1a1a202
parent df639609
No related branches found
No related tags found
No related merge requests found
......@@ -84,9 +84,15 @@ Item {
Layout.maximumWidth: JamiTheme.preferredFieldWidth - JamiTheme.preferredMarginSize
Layout.rightMargin: JamiTheme.preferredMarginSize
text: ReplyToBody
elide: Text.ElideRight
TextMetrics {
id: metrics
elide: Text.ElideRight
elideWidth: JamiTheme.preferredFieldWidth - JamiTheme.preferredMarginSize
text: ReplyToBody
}
textFormat: Text.MarkdownText
text: metrics.elidedText
color: UtilsAdapter.luma(bubble.color) ?
JamiTheme.chatviewTextColorLight :
......
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