diff --git a/Main.qml b/Main.qml index 3d001e7..aa0c845 100644 --- a/Main.qml +++ b/Main.qml @@ -1,18 +1,37 @@ import QtQuick import QtQuick.Controls.Basic +import QtQuick.Layouts 1.15 import archpack ApplicationWindow { - id: window + id: root - readonly property int compactWidth: 740 + readonly property int currentWidth: 740 title: "Arch Linux Updater" - width: compactWidth + width: currentWidth height: 560 minimumWidth: 200 minimumHeight: 250 visible: true color: Theme.base + + RowLayout { + anchors.fill: parent + spacing: 0 + + Item { + id: mainColumn + Layout.preferredWidth: root.currentWidth + Layout.fillHeight: true + + ColumnLayout { + id: layout + anchors.fill: parent + anchors.margins: 16 + spacing: 12 + } + } + } }