Skip to content

Commit 171f4e4

Browse files
committed
Restrict the chat view text width to a reasonable maximum.
Signed-off-by: Adam Treat <[email protected]>
1 parent 6adaa67 commit 171f4e4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

gpt4all-chat/main.qml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,10 @@ Window {
10121012
ListView {
10131013
id: listView
10141014
visible: ModelList.installedModels.count !== 0 && chatModel.count !== 0
1015-
anchors.fill: parent
1015+
anchors.top: parent.top
1016+
anchors.bottom: parent.bottom
1017+
anchors.horizontalCenter: parent.horizontalCenter
1018+
width: Math.min(1280, parent.width)
10161019
model: chatModel
10171020

10181021
ScrollBar.vertical: ScrollBar {

0 commit comments

Comments
 (0)