Added a tiny bit of spacing between machine action buttons

This commit is contained in:
Jaime van Kessel 2017-03-03 09:47:58 +01:00
parent 433d45cdae
commit 8e4f650746

View file

@ -89,15 +89,20 @@ UM.ManagementPage
id: machineActionRepeater
model: base.currentItem ? Cura.MachineActionManager.getSupportedActions(Cura.MachineManager.getDefinitionByMachineId(base.currentItem.id)) : null
Button
Item
{
text: machineActionRepeater.model[index].label
onClicked:
width: childrenRect.width + 2
height: childrenRect.height
Button
{
actionDialog.content = machineActionRepeater.model[index].displayItem;
machineActionRepeater.model[index].displayItem.reset();
actionDialog.title = machineActionRepeater.model[index].label;
actionDialog.show();
text: machineActionRepeater.model[index].label
onClicked:
{
actionDialog.content = machineActionRepeater.model[index].displayItem;
machineActionRepeater.model[index].displayItem.reset();
actionDialog.title = machineActionRepeater.model[index].label;
actionDialog.show();
}
}
}
}