From b3d9861d3d809b0b5fb805096615ad276da99c9e Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Thu, 23 Sep 2021 20:01:59 +0200 Subject: [PATCH] Fix label alignment in statedelegate --- imports/NeoChat/Component/Timeline/StateDelegate.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imports/NeoChat/Component/Timeline/StateDelegate.qml b/imports/NeoChat/Component/Timeline/StateDelegate.qml index 45541a341..d77c39ed4 100644 --- a/imports/NeoChat/Component/Timeline/StateDelegate.qml +++ b/imports/NeoChat/Component/Timeline/StateDelegate.qml @@ -14,6 +14,7 @@ RowLayout { id: row Kirigami.Avatar { + id: icon Layout.preferredWidth: Kirigami.Units.iconSizes.small Layout.preferredHeight: Kirigami.Units.iconSizes.small Layout.alignment: Qt.AlignTop @@ -37,6 +38,7 @@ RowLayout { Label { Layout.alignment: Qt.AlignVCenter Layout.fillWidth: true + Layout.preferredHeight: icon.height wrapMode: Text.WordWrap textFormat: Text.RichText text: "" + currentRoom.htmlSafeMemberName(author.id) + " " + display