Skip to content

Commit

Permalink
Restrict the chat view text width to a reasonable maximum.
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Treat <[email protected]>
  • Loading branch information
manyoso committed Mar 13, 2024
1 parent 6adaa67 commit 171f4e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gpt4all-chat/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 171f4e4

Please sign in to comment.