From fcfcf5573bbbd16953d696fba83158bf6692dd57 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Wed, 9 Mar 2022 19:39:25 +0100 Subject: Fix a few alignment issues in the hover menu --- resources/qml/MessageView.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'resources/qml') 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 -- cgit 1.4.1