qt6-bb10/tests/auto/widgets/itemviews
Chen Bin aeef92c3c3 Check scrollbar visibility when computing QListView margins
When the listview setWordWrap is true and ScrollBarPolicy is
ScrollBarAsNeeded, if the text needs a newline display and the
vbar is not shown, the width of the item was subtracted from
the width of the scrollbar.

In most cases, the listview needs to reserve the size of the scrollbar.
But if the flow is TopToBottom and the vertical scrollbar is not
visible, the width of the vertical scrollbar cannot be reserved.

Fixes: QTBUG-92366
Pick-to: 5.15 6.0 6.1
Change-Id: I73cce691099a253d409019dbb3fe9a16e1830bb1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2021-05-11 20:35:30 +08:00
..
qabstractitemview Remove the qmake project files 2021-01-07 15:32:28 +01:00
qcolumnview Remove the qmake project files 2021-01-07 15:32:28 +01:00
qdatawidgetmapper Remove the qmake project files 2021-01-07 15:32:28 +01:00
qfileiconprovider Verify that QFileIconProvider returns valid pixmaps 2021-02-23 15:34:05 +01:00
qheaderview Remove the qmake project files 2021-01-07 15:32:28 +01:00
qitemdelegate Remove the qmake project files 2021-01-07 15:32:28 +01:00
qitemeditorfactory Remove the qmake project files 2021-01-07 15:32:28 +01:00
qitemview Remove the qmake project files 2021-01-07 15:32:28 +01:00
qlistview Check scrollbar visibility when computing QListView margins 2021-05-11 20:35:30 +08:00
qlistwidget Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtableview Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtablewidget Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtreeview Fix the crashes when animated QTreeWidgetItems are hidden 2021-03-08 12:31:13 +00:00
qtreewidget Fix QTreeModel calling beginRemoveRows twice 2021-04-26 13:44:51 +01:00
qtreewidgetitemiterator Remove the qmake project files 2021-01-07 15:32:28 +01:00
CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00