mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-22 12:39:22 +08:00
Merge pull request #4692 from Ultimaker/monitor_tab_spacing_improvements
Monitor tab spacing improvements
This commit is contained in:
commit
03dd26e6e2
@ -48,11 +48,12 @@ Item {
|
|||||||
Column {
|
Column {
|
||||||
height: childrenRect.height;
|
height: childrenRect.height;
|
||||||
width: parent.width;
|
width: parent.width;
|
||||||
|
spacing: UM.Theme.getSize("default_margin").height;
|
||||||
|
|
||||||
// Main card
|
// Main card
|
||||||
Item {
|
Item {
|
||||||
id: mainCard;
|
id: mainCard;
|
||||||
height: 60 * screenScaleFactor + 2 * UM.Theme.getSize("default_margin").width;
|
height: 60 * screenScaleFactor + UM.Theme.getSize("default_margin").width;
|
||||||
width: parent.width;
|
width: parent.width;
|
||||||
|
|
||||||
// Machine icon
|
// Machine icon
|
||||||
@ -240,18 +241,15 @@ Item {
|
|||||||
visible: root.printer;
|
visible: root.printer;
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
|
||||||
id: cameraButtonWrapper;
|
|
||||||
height: showCameraButton.width + 2 * UM.Theme.getSize("default_margin").height;
|
|
||||||
visible: root.printer && root.printJob;
|
|
||||||
width: height;
|
|
||||||
CameraButton {
|
CameraButton {
|
||||||
id: showCameraButton;
|
id: showCameraButton;
|
||||||
anchors.centerIn: parent;
|
anchors {
|
||||||
|
left: parent.left;
|
||||||
|
leftMargin: UM.Theme.getSize("default_margin").width;
|
||||||
|
}
|
||||||
iconSource: "../svg/camera-icon.svg";
|
iconSource: "../svg/camera-icon.svg";
|
||||||
|
visible: root.printer && root.printJob;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Progress bar
|
// Progress bar
|
||||||
PrinterCardProgressBar {
|
PrinterCardProgressBar {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user