Restrict the chat view text width to a reasonable maximum.

Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
Adam Treat 2024-03-13 15:21:45 -04:00 committed by AT
parent 6adaa672b4
commit 171f4e488e

View File

@ -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 {