From e1eac00ee067a9fd336e89a3191d89fd01daa934 Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Thu, 1 Feb 2024 15:43:34 -0500 Subject: [PATCH] Fix the download and settings dialog to take more real estate if available on large monitors. Signed-off-by: Adam Treat --- gpt4all-chat/main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpt4all-chat/main.qml b/gpt4all-chat/main.qml index ea79b1e0..3aafa1a4 100644 --- a/gpt4all-chat/main.qml +++ b/gpt4all-chat/main.qml @@ -410,7 +410,7 @@ Window { SettingsDialog { id: settingsDialog anchors.centerIn: parent - width: Math.min(1280, window.width - (window.width * .1)) + width: Math.min(1920, window.width - (window.width * .1)) height: window.height - (window.height * .1) onDownloadClicked: { downloadNewModels.showEmbeddingModels = true @@ -736,7 +736,7 @@ Window { ModelDownloaderDialog { id: downloadNewModels anchors.centerIn: parent - width: Math.min(1280, window.width - (window.width * .1)) + width: Math.min(1920, window.width - (window.width * .1)) height: window.height - (window.height * .1) Item { Accessible.role: Accessible.Dialog