When using viewportMargins in QListWidget IconMode, the scrollbars act as if the viewportMargins were the default 0, 0, 0, 0.
Steps to reproduce:
- Run attached sample
- Vertically make the window smaller
- EXPECTED: Scrollbars appear as soon as first item is being hidden
- ACTUAL: Scrollbars only appear until the first item would be hidden if viewportMargins were not set
|For Gerrit Dashboard: QTBUG-61383|
|197908,6||QListView: Fix viewport size when checking scroll bar visibility||5.9||qt/qtbase||Status: MERGED||-2||0|