Fix scrolling of the chat view at expense of some more memory usage. (#2555)

Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
AT
2024-07-08 12:26:44 -04:00
committed by GitHub
parent c73f0e5c8c
commit 11b58a1a15

View File

@@ -776,6 +776,7 @@ Rectangle {
Layout.alignment: Qt.AlignHCenter
spacing: 25
model: chatModel
cacheBuffer: Math.max(0, listView.contentHeight)
ScrollBar.vertical: ScrollBar {
policy: ScrollBar.AsNeeded