diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-10-09 13:45:18 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-10-12 16:12:08 +0200 |
commit | cf4cd44d33a819b636f00e2623717ff25250940c (patch) | |
tree | 157b9d06595c8db27baac8c8b5ae88f62bd6564e /tests/auto/styleimports/tst_styleimports.cpp | |
parent | 88daafb4167f4d095c8e2559eea3bc67259c1900 (diff) |
Native style, macOS: add scrollviewcorner
On macOS (Big Sur), when a ScrollView has both a vertical
and a horizontal scrollbar, we should draw a corner item between
them so that they look 'connected'.
Since we don't have a way to draw that item using QStyle, we
simply grab a section of the center of a ScrollBar groove, and
use that to create a corner item.
Change-Id: I4e4df25b6769e810e6b046f6842f4424450fecb3
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/styleimports/tst_styleimports.cpp')
0 files changed, 0 insertions, 0 deletions