summaryrefslogtreecommitdiffstats
path: root/tests/baseline/stylesheet/qss/qscrollarea/no_border.qss
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-11-23 17:05:05 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-11-29 16:02:28 +0100
commit56da533b45e2785e8fd54ef6fcddb7b973c665bf (patch)
treefd346c37a3ca2a8ca35ade168d76cf082ba21baa /tests/baseline/stylesheet/qss/qscrollarea/no_border.qss
parent8fbedf2196a292fe2affcf83ddc846b9c852772a (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 'tests/baseline/stylesheet/qss/qscrollarea/no_border.qss')
-rw-r--r--tests/baseline/stylesheet/qss/qscrollarea/no_border.qss1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/baseline/stylesheet/qss/qscrollarea/no_border.qss b/tests/baseline/stylesheet/qss/qscrollarea/no_border.qss
new file mode 100644
index 0000000000..0c9744de7c
--- /dev/null
+++ b/tests/baseline/stylesheet/qss/qscrollarea/no_border.qss
@@ -0,0 +1 @@
+border: none