don't mess up old layout

This commit is contained in:
Malte E 2022-02-14 21:15:16 +01:00
parent 6f3ed5b282
commit e69f0fe960

View file

@ -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