From 5465d454f5228f5e84304953f1e30447103b33b4 Mon Sep 17 00:00:00 2001 From: Sebastian Wolf Date: Wed, 8 Jun 2022 23:13:34 +0200 Subject: [PATCH] Pre-allocate vertical space for reactions --- qml/components/MessageListViewItem.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/qml/components/MessageListViewItem.qml b/qml/components/MessageListViewItem.qml index c49db28..88ab301 100644 --- a/qml/components/MessageListViewItem.qml +++ b/qml/components/MessageListViewItem.qml @@ -622,6 +622,7 @@ ListItem { width: parent.width asynchronous: true active: ( chatPage.isChannel && messageViewCount > 0 ) || reactions.length > 0 + height: ( ( chatPage.isChannel && messageViewCount > 0 ) || reactions.length > 0 ) ? ( Theme.fontSizeExtraSmall + Theme.paddingSmall ) : 0 sourceComponent: Component { Label { text: getInteractionText(messageViewCount, reactions)