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");
|
||||
height: width;
|
||||
source: iconSource;
|
||||
width: parent.width / 2;
|
||||
width: Math.round(parent.width / 2);
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
|
|
|
@ -100,7 +100,7 @@ Item {
|
|||
color: UM.Theme.getColor("monitor_skeleton_fill");
|
||||
height: parent.height;
|
||||
visible: !extruderInfo.printCoreConfiguration;
|
||||
width: parent.width / 3;
|
||||
width: Math.round(parent.width / 3);
|
||||
}
|
||||
|
||||
// Actual content
|
||||
|
|
|
@ -72,7 +72,7 @@ Item {
|
|||
color: UM.Theme.getColor("monitor_skeleton_fill");
|
||||
height: parent.height;
|
||||
visible: !printJob;
|
||||
width: parent.width / 3;
|
||||
width: Math.round(parent.width / 3);
|
||||
}
|
||||
Label {
|
||||
anchors.fill: parent;
|
||||
|
@ -97,7 +97,7 @@ Item {
|
|||
color: UM.Theme.getColor("monitor_skeleton_fill");
|
||||
height: parent.height;
|
||||
visible: !printJob;
|
||||
width: parent.width / 2;
|
||||
width: Math.round(parent.width / 2);
|
||||
}
|
||||
Label {
|
||||
anchors.fill: parent;
|
||||
|
|
|
@ -21,7 +21,7 @@ Column {
|
|||
color: UM.Theme.getColor("monitor_skeleton_fill");
|
||||
height: parent.height;
|
||||
visible: !job;
|
||||
width: parent.width / 3;
|
||||
width: Math.round(parent.width / 3);
|
||||
}
|
||||
|
||||
Label {
|
||||
|
@ -44,7 +44,7 @@ Column {
|
|||
color: UM.Theme.getColor("monitor_skeleton_fill");
|
||||
height: parent.height;
|
||||
visible: !job;
|
||||
width: parent.width / 2;
|
||||
width: Math.round(parent.width / 2);
|
||||
}
|
||||
|
||||
Label {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue