Add skeleton loading to print job queue

Contributes to CL-1157
This commit is contained in:
Ian Paschal 2019-01-08 15:15:21 +01:00
parent e81742d296
commit 8f37b65ffe
3 changed files with 64 additions and 26 deletions

View file

@ -144,7 +144,6 @@ Item
topMargin: 12 * screenScaleFactor // TODO: Theme!
}
style: UM.Theme.styles.scrollview
visible: OutputDevice.receivedPrintJobs
width: parent.width
ListView
@ -160,7 +159,7 @@ Item
}
printJob: modelData
}
model: OutputDevice.queuedPrintJobs
model: OutputDevice.receivedPrintJobs ? OutputDevice.queuedPrintJobs.concat([null,null]) : [null,null]
spacing: 6 // TODO: Theme!
}
}