Commit e2ce74f5 authored by Ulf Hermann's avatar Ulf Hermann
Browse files

WelcomeScreen: Scroll the example grid view with the main scroll view

By tying the scroll offsets and visible areas of the two scrollable
elements together we avoid excessive loading times for the examples.

Change-Id: I6522ef3e6c0454e5bb05bef143953d8d1850ffdc
Reviewed-by: default avatarThomas Hartmann <>
parent 06a23c6d
......@@ -38,10 +38,12 @@ Rectangle {
CustomizedGridView {
id: grid
anchors.rightMargin: 38
anchors.bottomMargin: 60
anchors.leftMargin: 38
anchors.topMargin: 82
anchors.fill: parent
anchors.left: parent.left
anchors.right: parent.right
height: scrollView.height - 82
y: scrollView.flickableItem.contentY + 82
contentY: scrollView.flickableItem.contentY
model: examplesModel
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment