fix PageSetupWizardEasy

This commit is contained in:
Cyril Anisimov 2025-05-05 23:12:35 +02:00
parent 65e7237610
commit 8b01638424

View file

@ -74,6 +74,7 @@ PageType {
Layout.fillWidth: true Layout.fillWidth: true
Layout.rightMargin: 16 Layout.rightMargin: 16
Layout.leftMargin: 16 Layout.leftMargin: 16
Layout.bottomMargin: 16
headerTextMaximumLineCount: 10 headerTextMaximumLineCount: 10
@ -82,7 +83,7 @@ PageType {
} }
model: proxyContainersModel model: proxyContainersModel
currentIndex: 1 currentIndex: 0
delegate: ColumnLayout { delegate: ColumnLayout {
@ -94,6 +95,7 @@ PageType {
Layout.fillWidth: true Layout.fillWidth: true
Layout.rightMargin: 16 Layout.rightMargin: 16
Layout.leftMargin: 16 Layout.leftMargin: 16
Layout.bottomMargin: 16
headerText: easySetupHeader headerText: easySetupHeader
bodyText: easySetupDescription bodyText: easySetupDescription
@ -114,6 +116,7 @@ PageType {
footer: ColumnLayout { footer: ColumnLayout {
width: listView.width width: listView.width
spacing: 16
DividerType { DividerType {
Layout.fillWidth: true Layout.fillWidth: true
@ -195,7 +198,7 @@ PageType {
Component.onCompleted: { Component.onCompleted: {
var item = listView.itemAtIndex(listView.currentIndex) var item = listView.itemAtIndex(listView.currentIndex)
if (item !== null) { if (item !== null) {
var button = item.children[0].children[0] var button = item.children[0]
button.checked = true button.checked = true
button.clicked() button.clicked()
} }