From 69496e3292b27d8698642d4d0a48b8e74437952d Mon Sep 17 00:00:00 2001 From: Skycoder42 Date: Sun, 17 Jun 2018 17:46:07 +0200 Subject: [PATCH] WIP scrollview --- src/imports/mvvmquick/SettingsView.qml | 29 +++++++++++++++++++------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/src/imports/mvvmquick/SettingsView.qml b/src/imports/mvvmquick/SettingsView.qml index 1b31b03..0f0297a 100644 --- a/src/imports/mvvmquick/SettingsView.qml +++ b/src/imports/mvvmquick/SettingsView.qml @@ -230,22 +230,35 @@ Page { Component { id: _overviewComponent - OverviewListView { - id: __ovListView - builder: _builder + ScrollView { + property alias model: __ovListView.model + property alias showSections: __ovListView.showSections + anchors.fill: parent + clip: true + + OverviewListView { + id: __ovListView + builder: _builder - Component.onCompleted: _settingsStack.push(__ovListView) + Component.onCompleted: _settingsStack.push(__ovListView) + } } } Component { id: _sectionViewComponent - SectionListView { - id: __secListView - builder: _builder + ScrollView { + property alias model: __secListView.model + anchors.fill: parent + clip: true + + SectionListView { + id: __secListView + builder: _builder - Component.onCompleted: _settingsStack.push(__secListView) + Component.onCompleted: _settingsStack.push(__secListView) + } } }