qt5base-lts/tests/auto/widgets
Zhang Hao 0242be9060 Check scrollbar ScrollBarOverlap when computing QListView margins
When the listview setWordWrap is true and ScrollBarPolicy is
ScrollBarAsNeeded, if QStyle::PM_ScrollView_ScrollBarOverlap
returns true, the text displayed an empty line.

Fix this by not reserving the width of the vertical scrollbar
if the flow is TopToBottom and the vertical scrollbar, and QStyle
returns true for PM_ScrollView_ScrollBarOverlap. Amends
aeef92c3c3

Pick-to: 6.1 6.2
Fixes: QTBUG-94248
Done-with: Volker Hilsheimer <volker.hilsheimer@qt.io>
Change-Id: I4d47c7e86bbb86474cb1a99bb26d8b67f0e8a7e2
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2021-06-10 14:02:11 +00: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 ScrollBarOverlap when computing QListView margins 2021-06-10 14:02:11 +00:00
kernel Blacklist tst_QWidget::multipleToplevelFocusCheck() on SLES 15 2021-05-18 11:56:06 +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 Fix scrolling of tab bar when the visible tab is wider than the visible space 2021-06-09 18:19:15 +02:00
CMakeLists.txt Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00