From 85bc86183511d3363065eba628e3cbbcfd659c65 Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Tue, 20 Jun 2023 17:40:02 -0400 Subject: [PATCH] Fix the alignment. --- gpt4all-chat/qml/ModelDownloaderDialog.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gpt4all-chat/qml/ModelDownloaderDialog.qml b/gpt4all-chat/qml/ModelDownloaderDialog.qml index 5e08f555..d2721159 100644 --- a/gpt4all-chat/qml/ModelDownloaderDialog.qml +++ b/gpt4all-chat/qml/ModelDownloaderDialog.qml @@ -49,7 +49,7 @@ Dialog { Label { id: listLabel - text: "Available Models:" + text: qsTr("Available Models:") Layout.alignment: Qt.AlignLeft Layout.fillWidth: true color: theme.textColor @@ -57,7 +57,10 @@ Dialog { Label { visible: !Download.modelList.length - anchors.centerIn: parent + Layout.fillWidth: true + Layout.fillHeight: true + horizontalAlignment: Qt.AlignHCenter + verticalAlignment: Qt.AlignVCenter text: qsTr("Network error: could not retrieve http://gpt4all.io/models/models.json") color: theme.mutedTextColor }