mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Always show camera icon in monitor tab
Contributes to CL-1063
This commit is contained in:
parent
b07af898eb
commit
adac66b3f7
2 changed files with 23 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue