From 4cf768439cd060ed9a68fba899309fcf0228e385 Mon Sep 17 00:00:00 2001 From: chatlanin Date: Fri, 13 Nov 2026 21:47:16 +0300 Subject: [PATCH] add base ColumnLayout --- Main.qml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) 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 + } + } + } }