diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-11-23 17:05:05 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-11-29 16:02:28 +0100 |
commit | 56da533b45e2785e8fd54ef6fcddb7b973c665bf (patch) | |
tree | fd346c37a3ca2a8ca35ade168d76cf082ba21baa /examples/widgets/graphicsview/diagramscene/diagramtextitem.cpp | |
parent | 8fbedf2196a292fe2affcf83ddc846b9c852772a (diff) |
Never handle scrollbars styled with box or border changes as transient
If scrollbars are styled with a style sheet that includes a box or
removes off the native border, then we never treat them as transient or
overlapping. Otherwise, the layout logic in QAbstractScrollArea will
show them on top of the viewport, overlapping the content.
Add case to the style sheet test baseline test. It's a test for
scrollbars in a scroll area, rather than a test for the styling of the
scrollbars themselves.
Fixes: QTBUG-98289
Pick-to: 6.2
Change-Id: Ic53ad248b3eedd54722ac7b2fe5256a27092dbc1
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'examples/widgets/graphicsview/diagramscene/diagramtextitem.cpp')
0 files changed, 0 insertions, 0 deletions