Skip to content
Snippets Groups Projects
Commit 31b0f842 authored by Paul Tvete's avatar Paul Tvete
Browse files

Fix effects example after ScrollView change


ScrollView now clips contents by default, unless we manually create a
Flickable with no clipping. This example uses controls that extend
outside the scroll view.

Change-Id: Id3350aaf95d8b60736d039a7d225a2d05d9cfa94
Reviewed-by: default avatarEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Reviewed-by: default avatarAndy Nichols <andy.nichols@qt.io>
parent df0992ad
No related branches found
No related tags found
No related merge requests found
......@@ -176,9 +176,13 @@ Window {
anchors.bottom: parent.bottom
width: settingsRect.width
Rectangle {
Flickable {
clip: false
anchors.fill: parent
contentWidth: settingsRect.width
contentHeight: settingsRect.height
Rectangle {
id: settingsRect
implicitHeight: settingsArea.height
width: settingsArea.width + 20
......@@ -998,8 +1002,8 @@ Window {
}
} // ColumnLayout settingsArea
} // Rectangle contentsRect
} // Rectangle contentsRect
} // Flickable
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
} // ScrollView
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment