summaryrefslogtreecommitdiffstats
path: root/examples/widgets/doc/src/gallery.qdoc
diff options
context:
space:
mode:
authorOlivier De Cannière <[email protected]>2025-06-06 15:20:47 +0200
committerOlivier De Cannière <[email protected]>2025-06-12 17:22:23 +0200
commit5aa1bc46217dc6f53fde8fe17608cf0e5f7a5e78 (patch)
tree6177bc50ac6f6f1c96e0c223e05df7d75707cb30 /examples/widgets/doc/src/gallery.qdoc
parent76bf2512e72d0620cdeecf183120a3546d850438 (diff)
Widgets: Set viewItemPosition style option for QTableView and QListViewHEADdev
Before this patch, we did not set the view item positions in the views. This was fine as they were ignored until b780eaf6a063a7efe03417cf6b7008a188e222a4 added a condition to early exit on invalid positions. This then broke all qss background styling using QStyleOptionViewItem::ViewItemPosition as they were always invalid. Set the position when trying to draw a cell of the view before reaching the code handling the qss rules for backgrounds. Fixes: QTBUG-137346 Pick-to: 6.10 6.9 6.8 Change-Id: I83d7a3ea7b9bab98889791bb807988a74e355b93 Reviewed-by: Santhosh Kumar <[email protected]>
Diffstat (limited to 'examples/widgets/doc/src/gallery.qdoc')
0 files changed, 0 insertions, 0 deletions