mirror of
https://github.com/QuasarApp/DocsSite.git
synced 2025-04-27 20:44:32 +00:00
fix view
This commit is contained in:
parent
0b76b7ff79
commit
708591b6a8
@ -1 +1 @@
|
||||
Subproject commit 4a3f591ca797749e8a07575df884de89be4b9d8b
|
||||
Subproject commit f4dc253d2fa449a42ac88f194505cebd1482575b
|
@ -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: {
|
||||
|
@ -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)
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user