qt6-bb10/tests/auto/widgets
Sona Kurazyan ffac899576 Fix the size calculation of QHeaderView when stylesheet is used
When calculating the header section size based on its contents when a
stylesheet is used, the size hints from the stylesheet are used. In case
if the stylesheet specifies only one of the sizes, the other is set to
-1. Because of this the actual content size is ignored.

The solution is to calculate the size based on the application style, in
case if it's not specified in the stylesheet.

Fixes: QTBUG-75615
Change-Id: I3453fa623d75b6b32832edf753de6e3e4e7f5a22
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
2019-10-14 10:17:07 +02:00
..
dialogs Merge remote-tracking branch 'origin/5.13' into 5.14 2019-09-30 14:43:02 +02:00
effects unblacklist passing tests 2019-07-08 11:01:42 +00:00
graphicsview QGraphicsView: mark obsolete flag DontClipPainter as deprecated 2019-09-05 17:40:29 +02:00
itemviews Fix the size calculation of QHeaderView when stylesheet is used 2019-10-14 10:17:07 +02:00
kernel Remove usages of deprecated APIs of QDesktopWidget 2019-10-13 13:08:42 +02:00
styles tst_QStyle: Remove unused baseline images (Windows Vista/macOS) 2019-08-22 22:26:53 +02:00
util unblacklist passing tests 2019-07-08 11:01:42 +00:00
widgets QGroupBox: always disable children in a checkable, unchecked groupbox 2019-10-11 13:53:49 +02:00
widgets.pro