From 94633da2d7b76e723429956bb778c37d1f043ea0 Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Thu, 1 Jun 2023 17:23:45 -0400 Subject: [PATCH] Don't hardcode these. --- gpt4all-chat/qml/MyBusyIndicator.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpt4all-chat/qml/MyBusyIndicator.qml b/gpt4all-chat/qml/MyBusyIndicator.qml index 5ce360b1..d04f943e 100644 --- a/gpt4all-chat/qml/MyBusyIndicator.qml +++ b/gpt4all-chat/qml/MyBusyIndicator.qml @@ -11,8 +11,8 @@ BusyIndicator { Item { id: item - x: parent.width / 2 - 24 - y: parent.height / 2 - 24 + x: parent.width / 2 - width / 2 + y: parent.height / 2 - height / 2 width: 48 height: 48 opacity: control.running ? 1 : 0