summary refs log tree commit diff
path: root/resources/qml/delegates/FileMessage.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-06-06 00:29:46 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-06-08 22:32:14 +0200
commit04cbbd2837979b7208cc1a8d183b6dc4580d937b (patch)
treed0b631b5855d72fbd82e58221dbe94bca1391e93 /resources/qml/delegates/FileMessage.qml
parentFix palette in popups (diff)
downloadnheko-04cbbd2837979b7208cc1a8d183b6dc4580d937b.tar.xz
Replace some binding loops with others
Diffstat (limited to 'resources/qml/delegates/FileMessage.qml')
-rw-r--r--resources/qml/delegates/FileMessage.qml7
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)