CL-457 corrected qml errors

This commit is contained in:
Jack Ha 2017-10-02 11:37:08 +02:00
parent 3abf25937b
commit 2264c6c303

View file

@ -141,8 +141,8 @@ Rectangle
{ {
width: 40 * screenScaleFactor width: 40 * screenScaleFactor
height: width height: width
anchors.right: printProgressArea.left anchors.right: parent.right
anchors.rightMargin: UM.Theme.getSize("default_margin").width anchors.rightMargin: parent.rightMargin
source: "camera-icon.svg" source: "camera-icon.svg"
} }
@ -301,7 +301,7 @@ Rectangle
font: UM.Theme.getFont("very_small") font: UM.Theme.getFont("very_small")
} }
Image Image
{ {
width: 16 * screenScaleFactor width: 16 * screenScaleFactor
height: width height: width
@ -310,7 +310,7 @@ Rectangle
anchors.top: statusText.top anchors.top: statusText.top
visible: ! printProgressTitleBar.showPercent visible: ! printProgressTitleBar.showPercent
source: { source: {
if ( ! printer.enabled) if ( ! printer.enabled)
{ {
@ -329,6 +329,7 @@ Rectangle
return "checkmark-icon.svg"; return "checkmark-icon.svg";
} }
} }
return ""; // We're not going to show it, so it will not be resolved as a url.
} }
} }
@ -354,7 +355,7 @@ Rectangle
width: parent.width - 2 * UM.Theme.getSize("default_margin").width width: parent.width - 2 * UM.Theme.getSize("default_margin").width
visible: showExtended visible: printProgressArea.showExtended
Label // Status detail Label // Status detail
{ {