mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 05:37:50 -06:00
Merge pull request #4692 from Ultimaker/monitor_tab_spacing_improvements
Monitor tab spacing improvements
This commit is contained in:
commit
03dd26e6e2
1 changed files with 9 additions and 11 deletions
|
@ -48,11 +48,12 @@ Item {
|
|||
Column {
|
||||
height: childrenRect.height;
|
||||
width: parent.width;
|
||||
spacing: UM.Theme.getSize("default_margin").height;
|
||||
|
||||
// Main card
|
||||
Item {
|
||||
id: mainCard;
|
||||
height: 60 * screenScaleFactor + 2 * UM.Theme.getSize("default_margin").width;
|
||||
height: 60 * screenScaleFactor + UM.Theme.getSize("default_margin").width;
|
||||
width: parent.width;
|
||||
|
||||
// Machine icon
|
||||
|
@ -240,19 +241,16 @@ 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";
|
||||
CameraButton {
|
||||
id: showCameraButton;
|
||||
anchors {
|
||||
left: parent.left;
|
||||
leftMargin: UM.Theme.getSize("default_margin").width;
|
||||
}
|
||||
iconSource: "../svg/camera-icon.svg";
|
||||
visible: root.printer && root.printJob;
|
||||
}
|
||||
|
||||
|
||||
// Progress bar
|
||||
PrinterCardProgressBar {
|
||||
visible: printer && printer.activePrintJob != null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue