summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2024-03-02 01:04:24 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2024-03-02 01:05:09 +0100
commitf178df42b0f9c12e05c9a419dd9359e900244c68 (patch)
tree480d5725cc952a697618ce3139d77252966326bb
parentMerge branch 'gitlab_applesilicon' into 'master' (diff)
downloadnheko-f178df42b0f9c12e05c9a419dd9359e900244c68.tar.xz
Fix binding loop warning
-rw-r--r--resources/qml/MessageView.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml
index eb4c1716..09447ab3 100644
--- a/resources/qml/MessageView.qml
+++ b/resources/qml/MessageView.qml
@@ -86,8 +86,7 @@ Item {
 
         delegate: Settings.bubbles ? bubbleMessageStyle : defaultMessageStyle
         footer: Item {
-            anchors.horizontalCenter: parent.horizontalCenter
-            anchors.margins: Nheko.paddingLarge
+            width: chat.delegateMaxWidth
             // hacky, but works
             height: loadingSpinner.height + 2 * Nheko.paddingLarge
             visible: (room && room.paginationInProgress) || chat.filteringInProgress