fix(Chat): The text and emoji are not vertically aligned in the chat message

Added top margin in message text.
Fixes #5953
This commit is contained in:
Noelia 2022-06-13 13:14:53 +02:00 committed by Iuri Matias
parent 6743bee1aa
commit b039e9d67d
1 changed files with 1 additions and 0 deletions

View File

@ -509,6 +509,7 @@ Item {
anchors.leftMargin: chatImage.imageWidth + Style.current.padding + root.chatHorizontalPadding anchors.leftMargin: chatImage.imageWidth + Style.current.padding + root.chatHorizontalPadding
anchors.right: parent.right anchors.right: parent.right
anchors.rightMargin: root.chatHorizontalPadding anchors.rightMargin: root.chatHorizontalPadding
anchors.topMargin: (!chatName.visible || !chatReply.active || !pinnedRectangleLoader.active) ? Style.current.halfPadding : 0
visible: !editModeOn visible: !editModeOn
ChatTextView { ChatTextView {
id: chatText id: chatText