summary refs log tree commit diff
diff options
context:
space:
mode:
authorMalte E <malte.e@mailbox.org>2022-02-14 14:16:11 +0100
committerMalte E <malte.e@mailbox.org>2022-02-14 14:16:11 +0100
commitce13ccd677ec780185d7fb24f5ed6fcaf50e96bc (patch)
tree7d5e3e17be2f5a4dfdf82e03b8c046ced21300ec
parentfix bugs found by Nico (diff)
downloadnheko-ce13ccd677ec780185d7fb24f5ed6fcaf50e96bc.tar.xz
fix redactions line-wrapping
-rw-r--r--resources/qml/delegates/Redacted.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/delegates/Redacted.qml b/resources/qml/delegates/Redacted.qml

index 7e5a10f9..b3511cfc 100644 --- a/resources/qml/delegates/Redacted.qml +++ b/resources/qml/delegates/Redacted.qml
@@ -19,6 +19,7 @@ Rectangle{ RowLayout { id: redactedLayout anchors.centerIn: parent + width: parent.width spacing: Nheko.paddingSmall Image { @@ -33,8 +34,7 @@ Rectangle{ Layout.margins: 0 Layout.alignment: Qt.AlignVCenter | Qt.AlignRight Layout.preferredWidth: implicitWidth - //Layout.fillWidth: true - //Layout.maximumWidth: delegateWidth - 4 * Nheko.paddingSmall - trashImg.width - 2 * Nheko.paddingMedium + Layout.fillWidth: true property var redactedPair: room.formatRedactedEvent(eventId) text: redactedPair["first"] wrapMode: Label.WordWrap