mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 08:41:13 -07:00
Add variant names to extruder boxes
In the bottom-right corner. Contributes to issue CURA-3161.
This commit is contained in:
parent
ee3e0ba6ab
commit
41c94fd247
1 changed files with 10 additions and 0 deletions
|
|
@ -134,6 +134,16 @@ Column
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.bottomMargin: UM.Theme.getSize("default_margin").height
|
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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue