Browse Source

WIP scrollview

pull/2/head
Skycoder42 7 years ago
parent
commit
69496e3292
No known key found for this signature in database GPG Key ID: 8E01AD9EF0578D2B
  1. 29
      src/imports/mvvmquick/SettingsView.qml

29
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)
}
}
}

Loading…
Cancel
Save