add base ColumnLayout

This commit is contained in:
2026-11-13 21:47:16 +03:00
parent 7830d74a75
commit 4cf768439c

View File

@@ -1,18 +1,37 @@
import QtQuick import QtQuick
import QtQuick.Controls.Basic import QtQuick.Controls.Basic
import QtQuick.Layouts 1.15
import archpack import archpack
ApplicationWindow { ApplicationWindow {
id: window id: root
readonly property int compactWidth: 740 readonly property int currentWidth: 740
title: "Arch Linux Updater" title: "Arch Linux Updater"
width: compactWidth width: currentWidth
height: 560 height: 560
minimumWidth: 200 minimumWidth: 200
minimumHeight: 250 minimumHeight: 250
visible: true visible: true
color: Theme.base 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
}
}
}
} }