mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-25 09:13:49 +02:00
TextMessageDelegate: fix alignment for outgoing emojis
GitLab: #861 Change-Id: I32c643e56a730e4d3d5a6688308a50d18bf95cb6
This commit is contained in:
parent
61b2bfdee7
commit
838591cba1
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ SBSMessageBase {
|
|||
Math.max(extraContent.width,
|
||||
Math.min(implicitWidth - avatarBlockWidth,
|
||||
extraContent.minSize) - senderMargin )
|
||||
else if (isEmojiOnly)
|
||||
Math.min(implicitWidth, innerContent.width - senderMargin - (innerContent.width - senderMargin) % (JamiTheme.chatviewEmojiSize + 2))
|
||||
else
|
||||
Math.min(implicitWidth, innerContent.width - senderMargin)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue