This commit is contained in:
Andrei Yankovich 2020-05-16 20:29:05 +03:00
parent 0b76b7ff79
commit 708591b6a8
3 changed files with 13 additions and 8 deletions

@ -1 +1 @@
Subproject commit 4a3f591ca797749e8a07575df884de89be4b9d8b
Subproject commit f4dc253d2fa449a42ac88f194505cebd1482575b

View File

@ -9,8 +9,12 @@ import ViewSolutionsModule 1.0
ListView {
id: viewPort
property real globalPos: 0
anchors.fill: parent
anchors.margins: 40
anchors.margins: 24
anchors.leftMargin: 40
anchors.rightMargin: 40
delegate: Component {
ViewPortGradientPage {
property var data: block
@ -24,7 +28,7 @@ ListView {
}
}
spacing: 10
spacing: 24
ScrollBar.vertical: ScrollBar {
onPositionChanged: {

View File

@ -15,7 +15,7 @@ ApplicationWindow {
Material.accent: Material.LightBlue
// Material.background: Material.Teal
// Material.foreground: Material.Pink
Material.primary: Material.Grey
Material.primary: "#404142"
header: Header {
height: 30 * Screen.pixelDensity
@ -31,11 +31,12 @@ ApplicationWindow {
initialItem: ListViewer {
id: sourceList
model: (mainModel)? mainModel.listModel: null
anchors.fill: parent
}
anchors.fill: parent
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
anchors.bottom: parent.bottom
width: Math.min(parent.width, 1200)
}