aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/nativestyle/ControlContainer.qml
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2020-10-02 10:36:44 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2020-10-09 11:06:02 +0200
commitc752fdd9ab4cb5c5e9a980ffbc858c64251d5236 (patch)
tree4fc4e2422842187f54bd228f7f4e405b5c48924c /tests/manual/nativestyle/ControlContainer.qml
parent3ef7a9c34782fbc4e17a4d6448ee8ff1daea32ce (diff)
Native style, macOS: clip content view when ScrollView is clipped
On macOS, if a ScrollView has a clip set, we should clip the contentItem as well. This because the scrollbars are semi-transparent and non-transient (doesn't float on top), and in that case, the contents will show through them. So we assume that if the user sets a clip on the ScrollView, he want's to make sure that the contents is not showing outside the area where the contents are supposed to be. Change-Id: I7fff89843c0db38ec1caa6d18464e964788743c1 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/manual/nativestyle/ControlContainer.qml')
0 files changed, 0 insertions, 0 deletions