From 846ff33ed8ab4940e52b329431c61a5aa5109d30 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Mon, 4 May 2020 13:41:18 +0200 Subject: Position reaction emoji and text on the same baseline --- resources/qml/Reactions.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'resources/qml') diff --git a/resources/qml/Reactions.qml b/resources/qml/Reactions.qml index c15f0b3d..a33d5f61 100644 --- a/resources/qml/Reactions.qml +++ b/resources/qml/Reactions.qml @@ -27,6 +27,7 @@ Flow { padding: 4 Text { + anchors.baseline: reactionCounter.baseline id: reactionText text: reaction.text font.family: settings.emoji_font_family @@ -44,6 +45,7 @@ Flow { } Text { + id: reactionCounter text: model.counter font: reaction.font opacity: enabled ? 1.0 : 0.3 -- cgit 1.4.1