From 171f4e488e99c7da0b89b2e9f03ed6fbeb6be4ff Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Wed, 13 Mar 2024 15:21:45 -0400 Subject: [PATCH] Restrict the chat view text width to a reasonable maximum. Signed-off-by: Adam Treat --- gpt4all-chat/main.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gpt4all-chat/main.qml b/gpt4all-chat/main.qml index d4058ede..6915c37b 100644 --- a/gpt4all-chat/main.qml +++ b/gpt4all-chat/main.qml @@ -1012,7 +1012,10 @@ Window { ListView { id: listView visible: ModelList.installedModels.count !== 0 && chatModel.count !== 0 - anchors.fill: parent + anchors.top: parent.top + anchors.bottom: parent.bottom + anchors.horizontalCenter: parent.horizontalCenter + width: Math.min(1280, parent.width) model: chatModel ScrollBar.vertical: ScrollBar {