some other layout fix

This commit is contained in:
Marco Martin 2013-02-26 14:49:46 +01:00
parent e781a2bba2
commit c7ade82561

View File

@ -47,9 +47,12 @@ Rectangle {
Component.onCompleted: {
main.sourceComponent = configDialog.configPages[0].component
root.restoreConfig()
root.width = mainColumn.implicitWidth
root.height = mainColumn.implicitHeight
}
Column {
id: mainColumn
anchors.fill: parent
Row {
anchors {
@ -129,10 +132,15 @@ Rectangle {
Flickable {
contentWidth: width
contentHeight: main.height
Loader {
id: main
Item {
width: parent.width
height: childrenRect.height
Loader {
id: main
anchors.horizontalCenter: parent.horizontalCenter
width: childrenRect.width
height: childrenRect.height
}
}
}
}