From e69f0fe960d3cb7e31b536ddc7864ebb9efded05 Mon Sep 17 00:00:00 2001 From: Malte E Date: Mon, 14 Feb 2022 21:15:16 +0100 Subject: [PATCH] don't mess up old layout --- resources/qml/TimelineRow.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/TimelineRow.qml b/resources/qml/TimelineRow.qml index 24aa39e7..ba6751dd 100644 --- a/resources/qml/TimelineRow.qml +++ b/resources/qml/TimelineRow.qml @@ -176,7 +176,7 @@ Item { Layout.row: Settings.bubbles? 2 : 0 Layout.rowSpan: Settings.bubbles? 1 : 2 Layout.bottomMargin: -2 - Layout.topMargin: contentItem.fitsMetadata? -height-Layout.bottomMargin : 0 + Layout.topMargin: (contentItem.fitsMetadata && Settings.bubbles)? -height-Layout.bottomMargin : 0 Layout.alignment: Qt.AlignTop | Qt.AlignRight Layout.preferredWidth: implicitWidth visible: !isStateEvent