mirror of
https://github.com/overte-org/overte.git
synced 2025-07-10 20:58:36 +02:00
23 lines
480 B
QML
23 lines
480 B
QML
import QtQuick 2.15
|
|
import QtQuick.Controls 2.15
|
|
import QtQuick.Layouts 1.3
|
|
|
|
ScrollView {
|
|
width: parent.width
|
|
height: parent.height
|
|
y: header.height
|
|
id: root
|
|
|
|
ColumnLayout {
|
|
width: parent.width
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
spacing: 0
|
|
}
|
|
|
|
// Append children made using this custom element to the ColumnLayout.
|
|
Component.onCompleted: {
|
|
while (root.contentChildren.length > 1){
|
|
root.contentChildren[2].parent = root.contentChildren[0]
|
|
}
|
|
}
|
|
}
|