Ensured that sidebar has the right properties to show again

CL-541
This commit is contained in:
Jaime van Kessel 2017-11-27 14:42:45 +01:00
parent 7d9af8e345
commit 52a137a68c
4 changed files with 48 additions and 7 deletions

View file

@ -10,13 +10,12 @@ Component
{
id: base
property var manager: Cura.MachineManager.printerOutputDevices[0]
anchors.fill: parent
color: UM.Theme.getColor("viewport_background")
property var lineColor: "#DCDCDC" // TODO: Should be linked to theme.
property var cornerRadius: 4 * screenScaleFactor // TODO: Should be linked to theme.
visible: manager != null
anchors.fill: parent
color: UM.Theme.getColor("viewport_background")
UM.I18nCatalog
{
@ -97,7 +96,7 @@ Component
}
Label
{
text: manager.numJobsPrinting
text: manager.activePrintJobs.length
font: UM.Theme.getFont("small")
anchors.right: parent.right
}
@ -114,7 +113,7 @@ Component
}
Label
{
text: manager.numJobsQueued
text: manager.queuedPrintJobs.length
font: UM.Theme.getFont("small")
anchors.right: parent.right
}