plugins/runcommand: use Kirigami.Dialog

The "Add Command" dialog in the settings for the Run Command plugin
looks rather broken at the moment, as the size is not explicitly set and
the default value ends up much smaller than the contents. It uses
QQC2.Dialog, even though the plugin makes heavy use of Kirigami. Using
Kirigami.dialog here would solve the sizing issue, and generally lead to
a more consistent interface.

This change makes the plugin use Kirigami.Dialog instead of QQC2.

BUG: 487438
This commit is contained in:
Christoph Wolk 2024-08-02 00:14:33 +02:00 committed by Albert Vaca Cintora
parent a7cf51a33b
commit 19763dbf46

View file

@ -56,11 +56,12 @@ ListView {
helpfulAction: view.action helpfulAction: view.action
} }
QQC2.Dialog { Kirigami.Dialog {
id: addDialog id: addDialog
title: "Add command" title: "Add command"
standardButtons: QQC2.Dialog.Save | QQC2.Dialog.Cancel standardButtons: QQC2.Dialog.Save | QQC2.Dialog.Cancel
padding: Kirigami.Units.largeSpacing
Kirigami.FormLayout { Kirigami.FormLayout {
QQC2.TextField { QQC2.TextField {