diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-06-06 00:29:46 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-06-08 22:32:14 +0200 |
commit | 04cbbd2837979b7208cc1a8d183b6dc4580d937b (patch) | |
tree | d0b631b5855d72fbd82e58221dbe94bca1391e93 /resources/qml/delegates/FileMessage.qml | |
parent | Fix palette in popups (diff) | |
download | nheko-04cbbd2837979b7208cc1a8d183b6dc4580d937b.tar.xz |
Replace some binding loops with others
Diffstat (limited to 'resources/qml/delegates/FileMessage.qml')
-rw-r--r-- | resources/qml/delegates/FileMessage.qml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/resources/qml/delegates/FileMessage.qml b/resources/qml/delegates/FileMessage.qml index e63ca8e3..48546592 100644 --- a/resources/qml/delegates/FileMessage.qml +++ b/resources/qml/delegates/FileMessage.qml @@ -11,14 +11,13 @@ Item { required property string filename required property string filesize - height: row.height + (Settings.bubbles? 16: 24) - width: parent.width - implicitWidth: row.implicitWidth+metadataWidth + height: rowa.height + (Settings.bubbles? 16: 24) + implicitWidth: rowa.implicitWidth + metadataWidth property int metadataWidth property bool fitsMetadata: true RowLayout { - id: row + id: rowa anchors.centerIn: parent width: parent.width - (Settings.bubbles? 16 : 24) |