Only display message for abstract printers

CURA-9422
This commit is contained in:
c.lamboo 2022-08-30 13:10:03 +02:00
parent 7eb1622981
commit cf99114de8

View file

@ -119,6 +119,7 @@ Rectangle
Rectangle Rectangle
{ {
id: sendToFactoryCard id: sendToFactoryCard
visible: isAbstractCloudPrinter
color: UM.Theme.getColor("detail_background") color: UM.Theme.getColor("detail_background")
height: childrenRect.height + UM.Theme.getSize("default_margin").height * 2 height: childrenRect.height + UM.Theme.getSize("default_margin").height * 2
width: childrenRect.width + UM.Theme.getSize("wide_margin").width * 2 width: childrenRect.width + UM.Theme.getSize("wide_margin").width * 2
@ -140,7 +141,6 @@ Rectangle
UM.Label UM.Label
{ {
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
visible: isAbstractCloudPrinter
text: catalog.i18nc("@info", "Monitor your printers from everywhere using Ultimaker Digital Factory") text: catalog.i18nc("@info", "Monitor your printers from everywhere using Ultimaker Digital Factory")
font: UM.Theme.getFont("medium") font: UM.Theme.getFont("medium")
width: sendToFactoryImage.width width: sendToFactoryImage.width