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 { Component {
id: _overviewComponent id: _overviewComponent
OverviewListView { ScrollView {
id: __ovListView property alias model: __ovListView.model
builder: _builder 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 { Component {
id: _sectionViewComponent id: _sectionViewComponent
SectionListView { ScrollView {
id: __secListView property alias model: __secListView.model
builder: _builder anchors.fill: parent
clip: true
SectionListView {
id: __secListView
builder: _builder
Component.onCompleted: _settingsStack.push(__secListView) Component.onCompleted: _settingsStack.push(__secListView)
}
} }
} }

Loading…
Cancel
Save