mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 02:07:51 -06:00
Round divisions
Contributes to CL-1051, CL-897, CL-1111
This commit is contained in:
parent
34abc48a1a
commit
9a16d45be5
4 changed files with 6 additions and 6 deletions
|
@ -23,7 +23,7 @@ Rectangle {
|
||||||
color: UM.Theme.getColor("primary_text");
|
color: UM.Theme.getColor("primary_text");
|
||||||
height: width;
|
height: width;
|
||||||
source: iconSource;
|
source: iconSource;
|
||||||
width: parent.width / 2;
|
width: Math.round(parent.width / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
|
|
@ -100,7 +100,7 @@ Item {
|
||||||
color: UM.Theme.getColor("monitor_skeleton_fill");
|
color: UM.Theme.getColor("monitor_skeleton_fill");
|
||||||
height: parent.height;
|
height: parent.height;
|
||||||
visible: !extruderInfo.printCoreConfiguration;
|
visible: !extruderInfo.printCoreConfiguration;
|
||||||
width: parent.width / 3;
|
width: Math.round(parent.width / 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Actual content
|
// Actual content
|
||||||
|
|
|
@ -72,7 +72,7 @@ Item {
|
||||||
color: UM.Theme.getColor("monitor_skeleton_fill");
|
color: UM.Theme.getColor("monitor_skeleton_fill");
|
||||||
height: parent.height;
|
height: parent.height;
|
||||||
visible: !printJob;
|
visible: !printJob;
|
||||||
width: parent.width / 3;
|
width: Math.round(parent.width / 3);
|
||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
anchors.fill: parent;
|
anchors.fill: parent;
|
||||||
|
@ -97,7 +97,7 @@ Item {
|
||||||
color: UM.Theme.getColor("monitor_skeleton_fill");
|
color: UM.Theme.getColor("monitor_skeleton_fill");
|
||||||
height: parent.height;
|
height: parent.height;
|
||||||
visible: !printJob;
|
visible: !printJob;
|
||||||
width: parent.width / 2;
|
width: Math.round(parent.width / 2);
|
||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
anchors.fill: parent;
|
anchors.fill: parent;
|
||||||
|
|
|
@ -21,7 +21,7 @@ Column {
|
||||||
color: UM.Theme.getColor("monitor_skeleton_fill");
|
color: UM.Theme.getColor("monitor_skeleton_fill");
|
||||||
height: parent.height;
|
height: parent.height;
|
||||||
visible: !job;
|
visible: !job;
|
||||||
width: parent.width / 3;
|
width: Math.round(parent.width / 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
@ -44,7 +44,7 @@ Column {
|
||||||
color: UM.Theme.getColor("monitor_skeleton_fill");
|
color: UM.Theme.getColor("monitor_skeleton_fill");
|
||||||
height: parent.height;
|
height: parent.height;
|
||||||
visible: !job;
|
visible: !job;
|
||||||
width: parent.width / 2;
|
width: Math.round(parent.width / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue