qt6-bb10/tests/auto/widgets
Christian Ehrlicher e1cc2bfeb2 Tests/QTreeView: make styleOptionViewItem more robust
styleOptionViewItem() sometimes fails due to a very small widget size
even when using showMaximized(). This might be due to a mis-configured
vm scrren size or similar. To make sure that all 4 rows are properly
painted set the minimum width to a reasonable value and also resize the
sections appropriately.

Pick-to: 6.7 6.5
Fixes: QTBUG-126494
Change-Id: I9956d3119be1ba9e0fb33e4e7b30f40b01b017a5
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
(cherry picked from commit f7662366b120c1cacd43a2c2ae36b03f578d7478)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-03 11:15:42 +00:00
..
dialogs Return button index for deprecated QMessageBox APIs 2024-06-06 10:37:23 +00:00
effects Change license for tests files 2024-02-04 09:56:42 +01:00
graphicsview tst_QGraphicsGridLayout: port away from qsnprintf() 2024-08-01 00:43:07 +00:00
itemviews Tests/QTreeView: make styleOptionViewItem more robust 2024-08-03 11:15:42 +00:00
kernel tests: skip tst_QApplication::abortQuitOnShow() on Wayland - 2 2024-07-25 20:06:40 +00:00
styles QTBUG36933_brokenPseudoClassLookup() remove setActiveWindow() 2024-04-26 18:19:38 +02:00
util Use /tmp in tst_qcompleter on VxWorks 2024-06-12 15:53:35 +00:00
widgets tst_QLineEdit: use qWaitForWindowFocused() on Wayland to fix some tests 2024-07-25 13:35:17 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00