diff --git a/plugins/UM3NetworkPrinting/resources/qml/PrinterCard.qml b/plugins/UM3NetworkPrinting/resources/qml/PrinterCard.qml index 76e3184f4f..be03d41eb8 100644 --- a/plugins/UM3NetworkPrinting/resources/qml/PrinterCard.qml +++ b/plugins/UM3NetworkPrinting/resources/qml/PrinterCard.qml @@ -223,6 +223,16 @@ Item { } } + HorizontalLine { + anchors { + left: parent.left; + leftMargin: UM.Theme.getSize("default_margin").width; + right: parent.right; + rightMargin: UM.Theme.getSize("default_margin").width; + } + visible: root.printer; + } + // Detailed card PrinterCardDetails { collapsed: root.collapsed; @@ -230,6 +240,19 @@ Item { visible: root.printer; } + Item { + id: cameraButtonWrapper; + height: showCameraButton.width + 2 * UM.Theme.getSize("default_margin").height; + visible: root.printer && root.printJob; + width: height; + CameraButton { + id: showCameraButton; + anchors.centerIn: parent; + iconSource: "../svg/camera-icon.svg"; + } + } + + // Progress bar PrinterCardProgressBar { visible: printer && printer.activePrintJob != null; diff --git a/plugins/UM3NetworkPrinting/resources/qml/PrinterCardDetails.qml b/plugins/UM3NetworkPrinting/resources/qml/PrinterCardDetails.qml index d7102d5493..ccee3fb69b 100644 --- a/plugins/UM3NetworkPrinting/resources/qml/PrinterCardDetails.qml +++ b/plugins/UM3NetworkPrinting/resources/qml/PrinterCardDetails.qml @@ -32,8 +32,6 @@ Item { spacing: UM.Theme.getSize("default_margin").height; width: parent.width; - HorizontalLine {} - PrinterInfoBlock { printer: root.printer; printJob: root.printer ? root.printer.activePrintJob : null; @@ -69,16 +67,4 @@ Item { visible: root.printJob; } } - - CameraButton { - id: showCameraButton; - anchors { - bottom: contentColumn.bottom; - bottomMargin: Math.round(1.5 * UM.Theme.getSize("default_margin").height); - left: contentColumn.left; - leftMargin: Math.round(0.5 * UM.Theme.getSize("default_margin").width); - } - iconSource: "../svg/camera-icon.svg"; - visible: root.printJob; - } }