kcm: Update mobileform usage

This commit is contained in:
Devin Lin 2022-08-20 11:28:54 -04:00
parent 2a94ef0d96
commit 7a4a0dddc0
2 changed files with 6 additions and 4 deletions

View file

@ -71,7 +71,7 @@ Kirigami.ScrollablePage {
append({"name": vibrationIntensityDelegate.lowIntensityString, "value": 0.2});
}
}
dialog.parent: root
Component.onCompleted: dialog.parent = root
dialogDelegate: QQC2.RadioDelegate {
implicitWidth: Kirigami.Units.gridUnit * 16
topPadding: Kirigami.Units.smallSpacing * 2
@ -116,7 +116,7 @@ Kirigami.ScrollablePage {
append({"name": vibrationDurationDelegate.shortString, "value": 15});
}
}
dialog.parent: root
Component.onCompleted: dialog.parent = root
dialogDelegate: QQC2.RadioDelegate {
implicitWidth: Kirigami.Units.gridUnit * 16
topPadding: Kirigami.Units.smallSpacing * 2

View file

@ -149,7 +149,9 @@ KCM.SimpleKCM {
append({"name": parentCol.expandedString, "value": MobileShell.MobileShellSettings.Expanded});
}
}
dialog.parent: root
Component.onCompleted: dialog.parent = root
dialogDelegate: QQC2.RadioDelegate {
implicitWidth: Kirigami.Units.gridUnit * 16
topPadding: Kirigami.Units.smallSpacing * 2
@ -187,7 +189,7 @@ KCM.SimpleKCM {
append({"name": parentCol.expandedString, "value": MobileShell.MobileShellSettings.Expanded});
}
}
dialog.parent: root
Component.onCompleted: dialog.parent = root
dialogDelegate: QQC2.RadioDelegate {
implicitWidth: Kirigami.Units.gridUnit * 16
topPadding: Kirigami.Units.smallSpacing * 2