QML Clean-up

Contributes to CL-897, CL-1051, CL-1111
This commit is contained in:
Ian Paschal 2018-10-23 15:41:56 +02:00
parent 1bd488dd6c
commit f9545a339d
4 changed files with 8 additions and 8 deletions

View file

@ -51,7 +51,7 @@ Component {
id: queuedLabel;
anchors {
left: queuedPrintJobs.left;
leftMargin: 3 * UM.Theme.getSize("default_margin").width + 5;
leftMargin: 3 * UM.Theme.getSize("default_margin").width + 5 * screenScaleFactor;
top: parent.top;
topMargin: 2 * UM.Theme.getSize("default_margin").height;
}
@ -119,7 +119,7 @@ Component {
printJob: modelData;
}
model: OutputDevice.queuedPrintJobs;
spacing: UM.Theme.getSize("default_margin").height - 10; // 2x the shadow radius
spacing: UM.Theme.getSize("default_margin").height - 2 * UM.Theme.getSize("monitor_shadow_radius").width;
}
}