mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 15:45:53 +08:00
Added a tiny bit of spacing between machine action buttons
This commit is contained in:
parent
433d45cdae
commit
8e4f650746
@ -89,15 +89,20 @@ UM.ManagementPage
|
|||||||
id: machineActionRepeater
|
id: machineActionRepeater
|
||||||
model: base.currentItem ? Cura.MachineActionManager.getSupportedActions(Cura.MachineManager.getDefinitionByMachineId(base.currentItem.id)) : null
|
model: base.currentItem ? Cura.MachineActionManager.getSupportedActions(Cura.MachineManager.getDefinitionByMachineId(base.currentItem.id)) : null
|
||||||
|
|
||||||
Button
|
Item
|
||||||
{
|
{
|
||||||
text: machineActionRepeater.model[index].label
|
width: childrenRect.width + 2
|
||||||
onClicked:
|
height: childrenRect.height
|
||||||
|
Button
|
||||||
{
|
{
|
||||||
actionDialog.content = machineActionRepeater.model[index].displayItem;
|
text: machineActionRepeater.model[index].label
|
||||||
machineActionRepeater.model[index].displayItem.reset();
|
onClicked:
|
||||||
actionDialog.title = machineActionRepeater.model[index].label;
|
{
|
||||||
actionDialog.show();
|
actionDialog.content = machineActionRepeater.model[index].displayItem;
|
||||||
|
machineActionRepeater.model[index].displayItem.reset();
|
||||||
|
actionDialog.title = machineActionRepeater.model[index].label;
|
||||||
|
actionDialog.show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user