diff options
author | Malte E <malte.e@mailbox.org> | 2022-02-09 21:36:04 +0100 |
---|---|---|
committer | Malte E <malte.e@mailbox.org> | 2022-02-09 21:36:04 +0100 |
commit | 0e548b7d390cfbc3c37689ed9dbff0f1e2eab5cc (patch) | |
tree | 3a50a2ca0d85dd4c63e7a0463821ea5dcfe14578 /resources/qml/delegates/FileMessage.qml | |
parent | Variable width bubbles (still has binding loop) (diff) | |
download | nheko-0e548b7d390cfbc3c37689ed9dbff0f1e2eab5cc.tar.xz |
fixed most of the binding loops
Diffstat (limited to 'resources/qml/delegates/FileMessage.qml')
-rw-r--r-- | resources/qml/delegates/FileMessage.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/qml/delegates/FileMessage.qml b/resources/qml/delegates/FileMessage.qml index f1fd07b9..2ac2a80a 100644 --- a/resources/qml/delegates/FileMessage.qml +++ b/resources/qml/delegates/FileMessage.qml @@ -11,9 +11,11 @@ Item { required property string eventId required property string filename required property string filesize + property int maxWidth height: row.height + 24 - width: parent.width + width: maxWidth + implicitWidth: maxWidth RowLayout { id: row |