Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.8 6.7 6.5 Fixes: QTBUG-126494 Change-Id: I9956d3119be1ba9e0fb33e4e7b30f40b01b017a5 Reviewed-by: Axel Spoerl <[email protected]>
- Loading branch information