Use SecondaryButton in the usb print panel inplace of tye style prop

The Jog buttons are not changed yet as these button make use of the
`checked` property this is not yet implemented for Cura's `Action` and
by extension Cura's `Secondary` button.

CURA-8684
This commit is contained in:
casper 2022-01-18 17:43:13 +01:00
parent 3e4c171603
commit 204d965df2
5 changed files with 36 additions and 433 deletions

View file

@ -266,7 +266,7 @@ Item
}
}
Button
Cura.SecondaryButton
{
id: pauseResumeButton
@ -309,11 +309,9 @@ Item
activePrintJob.setState("pause");
}
}
style: UM.Theme.styles.print_setup_action_button
}
Button
Cura.SecondaryButton
{
id: abortButton
@ -325,8 +323,6 @@ Item
text: catalog.i18nc("@label", "Abort Print")
onClicked: confirmationDialog.visible = true
style: UM.Theme.styles.print_setup_action_button
}
MessageDialog