Port implicit default content items to use contentItem: property
See also https://invent.kde.org/frameworks/kirigami/-/merge_requests/1338 and https://invent.kde.org/frameworks/kirigami/-/merge_requests/1340
This commit is contained in:
parent
3eb23614e0
commit
5db4263af6
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ Kirigami.ScrollablePage {
|
||||||
|
|
||||||
delegate: Kirigami.SwipeListItem {
|
delegate: Kirigami.SwipeListItem {
|
||||||
|
|
||||||
RowLayout {
|
contentItem: RowLayout {
|
||||||
CheckBox {
|
CheckBox {
|
||||||
id: serviceCheck
|
id: serviceCheck
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
|
|
|
@ -35,7 +35,7 @@ ListView {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
QQC2.Label {
|
contentItem: QQC2.Label {
|
||||||
text: i18n("%1 <br> <i>%2</i>", name, command)
|
text: i18n("%1 <br> <i>%2</i>", name, command)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue