diff options
author | Malte E <malte.e@mailbox.org> | 2022-02-14 21:15:16 +0100 |
---|---|---|
committer | Malte E <malte.e@mailbox.org> | 2022-02-14 21:15:16 +0100 |
commit | e69f0fe960d3cb7e31b536ddc7864ebb9efded05 (patch) | |
tree | da8101f7f27cdc3a08c581ca3df4af526c5ab145 /resources/qml/TimelineRow.qml | |
parent | space-saving metadata placement (diff) | |
download | nheko-e69f0fe960d3cb7e31b536ddc7864ebb9efded05.tar.xz |
don't mess up old layout
Diffstat (limited to '')
-rw-r--r-- | resources/qml/TimelineRow.qml | 2 |
1 files changed, 1 insertions, 1 deletions
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 |