Changed order of buttons

This commit is contained in:
Jaime van Kessel 2016-12-16 11:35:08 +01:00
parent a7135a0f5f
commit fa3f473b61
3 changed files with 71 additions and 12 deletions

View file

@ -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
}
]
}