mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Changed order of buttons
This commit is contained in:
parent
a7135a0f5f
commit
fa3f473b61
3 changed files with 71 additions and 12 deletions
|
@ -133,6 +133,30 @@ UM.Dialog
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*Repeater
|
||||
{
|
||||
model: manager.extruders
|
||||
delegate: Column
|
||||
{
|
||||
Label
|
||||
{
|
||||
text: catalog.i18nc("@action:label", "Extruder %1").arg(index+1)
|
||||
}
|
||||
width: parent.width
|
||||
height: childrenRect.height
|
||||
Label
|
||||
{
|
||||
text: catalog.i18nc("@action:label", "%1 & material").arg(manager.variantType)
|
||||
width: parent.width / 3
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: modelData
|
||||
width: parent.width / 3
|
||||
}
|
||||
}
|
||||
}*/
|
||||
Item // Spacer
|
||||
{
|
||||
height: spacerHeight
|
||||
|
@ -332,19 +356,20 @@ UM.Dialog
|
|||
}
|
||||
}
|
||||
rightButtons: [
|
||||
Button
|
||||
{
|
||||
id: ok_button
|
||||
text: catalog.i18nc("@action:button","OK");
|
||||
onClicked: { manager.closeBackend(); manager.onOkButtonClicked() }
|
||||
enabled: true
|
||||
},
|
||||
|
||||
Button
|
||||
{
|
||||
id: cancel_button
|
||||
text: catalog.i18nc("@action:button","Cancel");
|
||||
onClicked: { manager.onCancelButtonClicked() }
|
||||
enabled: true
|
||||
},
|
||||
Button
|
||||
{
|
||||
id: ok_button
|
||||
text: catalog.i18nc("@action:button","Open");
|
||||
onClicked: { manager.closeBackend(); manager.onOkButtonClicked() }
|
||||
enabled: true
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue