CURA-4461 Show nozzles and buildplates separately depending on the

hardware_type metadata in variants
This commit is contained in:
Diego Prado Gesto 2018-01-10 11:42:43 +01:00
parent 2613b4d1a3
commit fd46f6968b
3 changed files with 17 additions and 8 deletions

View file

@ -242,7 +242,7 @@ Column
Label
{
id: materialLabel
text: catalog.i18nc("@label","Material");
text: catalog.i18nc("@label", "Material");
width: Math.floor(parent.width * 0.45 - UM.Theme.getSize("default_margin").width)
font: UM.Theme.getFont("default");
color: UM.Theme.getColor("text");
@ -279,7 +279,7 @@ Column
{
id: variantRow
height: UM.Theme.getSize("sidebar_setup").height
visible: Cura.MachineManager.hasBuildPlateVariant && !sidebar.monitoringPrint && !sidebar.hideSettings
visible: Cura.MachineManager.hasVariants && !sidebar.monitoringPrint && !sidebar.hideSettings
anchors
{
@ -332,7 +332,7 @@ Column
Label
{
id: bulidplateLabel
text: catalog.i18nc("@label","Buildplate");
text: catalog.i18nc("@label", "Build plate");
width: Math.floor(parent.width * 0.45 - UM.Theme.getSize("default_margin").width)
font: UM.Theme.getFont("default");
color: UM.Theme.getColor("text");
@ -350,7 +350,7 @@ Column
style: UM.Theme.styles.sidebar_header_button
activeFocusOnPress: true;
menu: BuildplateMenu
menu: BuildplateMenu {}
}
}