Add the Cura logo to the top left of the cura window

This commit is contained in:
Arjen Hiemstra 2015-04-03 18:03:00 +02:00
parent d46e7daea2
commit 77f6929de4

View file

@ -132,6 +132,7 @@ UM.MainWindow {
addMachineAction: actions.addMachine;
configureMachinesAction: actions.configureMachines;
saveAction: actions.save;
}
UM.MessageStack {
@ -161,6 +162,21 @@ UM.MainWindow {
action: actions.open;
}
Image {
anchors {
verticalCenter: openFileButton.verticalCenter;
left: openFileButton.right;
leftMargin: UM.Theme.sizes.window_margin.width;
}
source: UM.Theme.images.logo;
width: UM.Theme.sizes.logo.width;
height: UM.Theme.sizes.logo.height;
sourceSize.width: width;
sourceSize.height: height;
}
PrinterButton {
anchors {
top: parent.top;
@ -312,7 +328,6 @@ UM.MainWindow {
onAccepted:
{
UM.MeshFileHandler.readLocalFile(fileUrl)
files.setDirectory(fileUrl)
}
}