Change machine actions buttons to secondaryButtons

CURA-8949
This commit is contained in:
Jaime van Kessel 2022-02-18 10:14:47 +01:00
parent 5f9e916f29
commit 6e5e5152be

View File

@ -85,10 +85,14 @@ UM.ManagementPage
{ {
id: machineActions id: machineActions
visible: currentItem && currentItem.id == Cura.MachineManager.activeMachine.id visible: currentItem && currentItem.id == Cura.MachineManager.activeMachine.id
anchors.left: parent.left anchors
anchors.right: parent.right {
anchors.top: machineName.bottom left: parent.left
anchors.topMargin: UM.Theme.getSize("default_margin").height right: parent.right
top: machineName.bottom
topMargin: UM.Theme.getSize("default_margin").height
}
spacing: UM.Theme.getSize("default_margin").height
Repeater Repeater
{ {
@ -99,7 +103,7 @@ UM.ManagementPage
{ {
width: Math.round(childrenRect.width + 2 * screenScaleFactor) width: Math.round(childrenRect.width + 2 * screenScaleFactor)
height: childrenRect.height height: childrenRect.height
Button Cura.SecondaryButton
{ {
text: machineActionRepeater.model[index].label text: machineActionRepeater.model[index].label
onClicked: onClicked: