Port away from BasicListItem

For ConnectionCheckAction
This commit is contained in:
Alexey Andreyev 2023-09-27 01:52:52 +03:00
parent adc7339da7
commit ad96d5a80f
1 changed files with 4 additions and 3 deletions

View File

@ -9,6 +9,7 @@ import QtQuick.Controls as Controls
import QtQuick.Layouts import QtQuick.Layouts
import org.kde.kirigami as Kirigami import org.kde.kirigami as Kirigami
import org.kde.kirigamiaddons.delegates as Delegates
import org.kde.kasts import org.kde.kasts
@ -72,7 +73,7 @@ Kirigami.Dialog {
opacity: 0.5 opacity: 0.5
} }
Kirigami.BasicListItem { Delegates.RoundedItemDelegate {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: Kirigami.Units.gridUnit * 2 Layout.preferredHeight: Kirigami.Units.gridUnit * 2
leftPadding: Kirigami.Units.largeSpacing + Kirigami.Units.smallSpacing leftPadding: Kirigami.Units.largeSpacing + Kirigami.Units.smallSpacing
@ -85,7 +86,7 @@ Kirigami.Dialog {
} }
} }
Kirigami.BasicListItem { Delegates.RoundedItemDelegate {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: Kirigami.Units.gridUnit * 2 Layout.preferredHeight: Kirigami.Units.gridUnit * 2
leftPadding: Kirigami.Units.largeSpacing + Kirigami.Units.smallSpacing leftPadding: Kirigami.Units.largeSpacing + Kirigami.Units.smallSpacing
@ -98,7 +99,7 @@ Kirigami.Dialog {
} }
} }
Kirigami.BasicListItem { Delegates.RoundedItemDelegate {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: Kirigami.Units.gridUnit * 2 Layout.preferredHeight: Kirigami.Units.gridUnit * 2
leftPadding: Kirigami.Units.largeSpacing + Kirigami.Units.smallSpacing leftPadding: Kirigami.Units.largeSpacing + Kirigami.Units.smallSpacing