[Interest] QListView ignoring ScrollPerPixel on Sierra, High Sierra (Qt-5.12.0)

Patrick Stinson patrickkidd at gmail.com
Sun Feb 17 19:47:22 CET 2019


Hi there!

This simple pyqt example demonstrates the problem. Any ideas on a workaround?


import time

app = QApplication(sys.argv)

w = QListView()
m = QStringListModel()
m.setStringList([str(time.time()) for i in range(1000)])
w.setModel(m)
w.setVerticalScrollMode(QAbstractItemView.ScrollPerPixel)
w.show()

app.exec_()




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190217/bec48a38/attachment.html>


More information about the Interest mailing list