From fcfcf5573bbbd16953d696fba83158bf6692dd57 Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Wed, 9 Mar 2022 19:39:25 +0100
Subject: [PATCH] Fix a few alignment issues in the hover menu

---
 resources/qml/MessageView.qml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml
index 953e8ff8c..b9db224dd 100644
--- a/resources/qml/MessageView.qml
+++ b/resources/qml/MessageView.qml
@@ -77,12 +77,11 @@ Item {
                 radius: padding
             }
 
-            contentItem: Row {
+            contentItem: RowLayout {
                 id: row
 
                 property var model
 
-                anchors.centerIn: parent
                 spacing: messageActions.padding
 
                 Repeater {
@@ -93,7 +92,7 @@ Item {
 
                         visible: chat.model ? chat.model.permissions.canSend(MtxEvent.Reaction) : false
 
-                        height: fontMetrics.height
+                        Layout.preferredHeight: fontMetrics.height
                         font.family: Settings.emojiFont
 
                         text: modelData
-- 
GitLab