Skip to content
Snippets Groups Projects
Commit ce13ccd6 authored by Malte E's avatar Malte E
Browse files

fix redactions line-wrapping

parent 414257bf
No related branches found
No related tags found
No related merge requests found
Pipeline #2632 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment