mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +02:00
replytorow: fix elideRight
Else, the text was overflowing Change-Id: Idd27682d612cc35fce045967025df49ad1a1a202
This commit is contained in:
parent
df63960974
commit
f81dc754c1
1 changed files with 8 additions and 2 deletions
|
@ -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 :
|
||||
|
|
Loading…
Add table
Reference in a new issue