Add variant names to extruder boxes

In the bottom-right corner.

Contributes to issue CURA-3161.
This commit is contained in:
Ghostkeeper 2017-02-03 15:03:24 +01:00
parent ee3e0ba6ab
commit 41c94fd247
No known key found for this signature in database
GPG Key ID: C5F96EE2BC0F7E75

View File

@ -134,6 +134,16 @@ Column
anchors.bottom: parent.bottom
anchors.bottomMargin: UM.Theme.getSize("default_margin").height
}
Text //Variant name.
{
text: printerConnected ? connectedPrinter.hotendIds[index] : ""
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("text")
anchors.right: parent.right
anchors.rightMargin: UM.Theme.getSize("default_margin").width
anchors.bottom: parent.bottom
anchors.bottomMargin: UM.Theme.getSize("default_margin").height
}
}
}
}