Move monitorLabel into PrintMonitor.qml

It's a label that belongs to the print monitor after all. Let the print monitor file decide how it's going to look.

Contributes to issue CURA-3161.
This commit is contained in:
Ghostkeeper 2017-02-01 17:31:36 +01:00
parent 425dbf1ad8
commit 5c2f1a935a
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75
2 changed files with 14 additions and 16 deletions

View file

@ -1,4 +1,4 @@
// Copyright (c) 2016 Ultimaker B.V.
// Copyright (c) 2017 Ultimaker B.V.
// Cura is released under the terms of the AGPLv3 or higher.
import QtQuick 2.2
@ -20,6 +20,17 @@ Column
simpleNames: true
}
Label {
id: monitorLabel
text: catalog.i18nc("@label","Printer Monitor");
anchors.left: parent.left
anchors.leftMargin: UM.Theme.getSize("default_margin").width;
width: parent.width * 0.45
font: UM.Theme.getFont("large")
color: UM.Theme.getColor("text")
visible: monitoringPrint
}
Item
{
width: base.width - 2 * UM.Theme.getSize("default_margin").width