mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Show list of compatible support materials
Contributes to issue CURA-8585.
This commit is contained in:
parent
fd026e472f
commit
cfdb01caaf
1 changed files with 34 additions and 0 deletions
|
@ -449,6 +449,40 @@ Rectangle
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Column
|
||||||
|
{
|
||||||
|
id: compatibleSupportMaterialColumn
|
||||||
|
width: parent.width - parent.padding * 2
|
||||||
|
|
||||||
|
visible: packageData.packageType === "material"
|
||||||
|
spacing: 0
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
width: parent.width
|
||||||
|
|
||||||
|
text: catalog.i18nc("@header", "Compatible support materials")
|
||||||
|
font: UM.Theme.getFont("medium_bold")
|
||||||
|
color: UM.THeme.getColor("text")
|
||||||
|
elide: Text.ElideRight
|
||||||
|
}
|
||||||
|
|
||||||
|
Repeater
|
||||||
|
{
|
||||||
|
model: packageData.compatibleSupportMaterials
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
width: compatibleSupportMaterialColumn.width
|
||||||
|
|
||||||
|
text: modelData
|
||||||
|
font: UM.Theme.getFont("medium")
|
||||||
|
color: UM.Theme.getColor("text")
|
||||||
|
elide: Text.ElideRight
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Cura.SecondaryButton
|
Cura.SecondaryButton
|
||||||
{
|
{
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue