diff --git a/plugins/UM3NetworkPrinting/resources/qml/CameraButton.qml b/plugins/UM3NetworkPrinting/resources/qml/CameraButton.qml index f9c0d6d1e2..2fcf52c463 100644 --- a/plugins/UM3NetworkPrinting/resources/qml/CameraButton.qml +++ b/plugins/UM3NetworkPrinting/resources/qml/CameraButton.qml @@ -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 { diff --git a/plugins/UM3NetworkPrinting/resources/qml/PrintCoreConfiguration.qml b/plugins/UM3NetworkPrinting/resources/qml/PrintCoreConfiguration.qml index 54f82142c2..7bcd9ce6e4 100644 --- a/plugins/UM3NetworkPrinting/resources/qml/PrintCoreConfiguration.qml +++ b/plugins/UM3NetworkPrinting/resources/qml/PrintCoreConfiguration.qml @@ -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 diff --git a/plugins/UM3NetworkPrinting/resources/qml/PrintJobInfoBlock.qml b/plugins/UM3NetworkPrinting/resources/qml/PrintJobInfoBlock.qml index 8426834721..dd0f2f88cf 100644 --- a/plugins/UM3NetworkPrinting/resources/qml/PrintJobInfoBlock.qml +++ b/plugins/UM3NetworkPrinting/resources/qml/PrintJobInfoBlock.qml @@ -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; diff --git a/plugins/UM3NetworkPrinting/resources/qml/PrintJobTitle.qml b/plugins/UM3NetworkPrinting/resources/qml/PrintJobTitle.qml index 5e226d19e9..f9f7b5ae87 100644 --- a/plugins/UM3NetworkPrinting/resources/qml/PrintJobTitle.qml +++ b/plugins/UM3NetworkPrinting/resources/qml/PrintJobTitle.qml @@ -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 {