summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-03-09 19:39:25 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-03-09 19:39:25 +0100
commitfcfcf5573bbbd16953d696fba83158bf6692dd57 (patch)
tree82cf8c7358dc58b03922b7ca59f28ef9514cf17b /resources/qml
parentMerge pull request #982 from tastytea/reaction-tooltip (diff)
downloadnheko-fcfcf5573bbbd16953d696fba83158bf6692dd57.tar.xz
Fix a few alignment issues in the hover menu
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/MessageView.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml
index 953e8ff8..b9db224d 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