CURA-4870 Cleanup UI and add buildplate icon

This commit is contained in:
Diego Prado Gesto 2018-03-05 12:13:46 +01:00
parent 871f0a130e
commit f779a20a6e
3 changed files with 25 additions and 8 deletions

View file

@ -44,7 +44,6 @@ Rectangle
width: Math.round(parent.width / 2)
printCoreConfiguration: modelData
}
Component.onCompleted: {print("ELEMENTOS:", repeater.model.count)}
}
}
@ -69,11 +68,11 @@ Rectangle
id: buildplateIcon
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
width: UM.Theme.getSize("standard_arrow").width
height: UM.Theme.getSize("standard_arrow").height
width: UM.Theme.getSize("topbar_button_icon").width
height: UM.Theme.getSize("topbar_button_icon").height
sourceSize.width: width
sourceSize.height: height
source: UM.Theme.getIcon("extruder_button")
source: UM.Theme.getIcon("buildplate")
color: "black"
}

View file

@ -28,7 +28,7 @@ Column
elide: Text.ElideRight
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
font: UM.Theme.getFont("small")
font: UM.Theme.getFont("default")
}
// Rounded item to show the extruder number
@ -58,7 +58,7 @@ Column
id: extruderNumberText
anchors.centerIn: parent
text: printCoreConfiguration.position + 1
font: UM.Theme.getFont("small")
font: UM.Theme.getFont("default")
}
}
}
@ -69,14 +69,15 @@ Column
text: printCoreConfiguration.material
elide: Text.ElideRight
width: parent.width
font: UM.Theme.getFont("small")
font: UM.Theme.getFont("default_bold")
}
Label
{
id: printCoreTypeLabel
text: printCoreConfiguration.hotendID
elide: Text.ElideRight
width: parent.width
font: UM.Theme.getFont("very_small")
font: UM.Theme.getFont("default")
}
}

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="14px" height="14px" viewBox="0 0 14 14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 49 (51002) - http://www.bohemiancoding.com/sketch -->
<title>icn_buildplate</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Visual" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<g id="Printer-status-icon" transform="translate(-33.000000, -366.000000)" stroke="#000000">
<g id="icn_buildplate" transform="translate(33.000000, 367.000000)">
<polyline id="Stroke-6823" points="0 5 7 8 14 5"></polyline>
<polyline id="Stroke-6823-Copy" points="0 7 7 10 14 7"></polyline>
<polyline id="Stroke-6823-Copy" points="0 9 7 12 14 9"></polyline>
<polygon id="Stroke-6824" points="0 2.75 7 0 14 2.75 7 5.5"></polygon>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1 KiB