qt5base-lts/tests/auto/widgets
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
..
dialogs Fix wrong C-style cast, use correct QTest::keyClick overload 2021-04-28 10:15:29 +02:00
effects Fix tst_qgraphicseffect on Wayland 2021-03-11 08:04:21 +01:00
graphicsview Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
itemviews Check scrollbar visibility when computing QListView margins 2021-05-11 20:35:30 +08:00
kernel Blacklist and skip failing tests on macOS ARM 2021-05-04 22:58:59 +02:00
styles QTabBar: take a style sheet's font into account when laying out tabs 2021-05-06 20:06:44 +02:00
util Remove the qmake project files 2021-01-07 15:32:28 +01:00
widgets QMdiArea: Fix top level window title when using DontMaximizeSubWindowOnActivation 2021-05-06 13:08:14 +02:00
CMakeLists.txt Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00