QML ListView method positionViewAtEnd() does exactly the opposite
问题 I'm going crazy. I have a ListView inside a ScrollView, hooked up to a model that inherits QAbstractListModel. When objects are added to the model, the ListView shows them using a delegate. So far, so good. But I really want the view to stay scrolled to the bottom (like a chat window), and I'm having a very difficult time making that happen. Here is the relevant QML code: Rectangle { ScrollView { [anchor stuff] ListView { id: messageList model: textMessageFiltered delegate: messageDelegate }