diff --git a/plugins/Toolbox/resources/qml/ToolboxHeader.qml b/plugins/Toolbox/resources/qml/ToolboxHeader.qml index 217aba8640..c3f9318316 100644 --- a/plugins/Toolbox/resources/qml/ToolboxHeader.qml +++ b/plugins/Toolbox/resources/qml/ToolboxHeader.qml @@ -70,9 +70,9 @@ Item { id: marketplaceNotificationIcon color: UM.Theme.getColor("notification_icon") - width: installedTabButton.height / 3 + width: (installedTabButton.height / 3) | 0 height: width - radius: 0.5 * width + radius: (0.5 * width) | 0 visible: CuraApplication.getPackageManager().packagesWithUpdate.length > 0 diff --git a/resources/qml/MainWindow/MainWindowHeader.qml b/resources/qml/MainWindow/MainWindowHeader.qml index c0d5cdc31b..ebe2b6ff6c 100644 --- a/resources/qml/MainWindow/MainWindowHeader.qml +++ b/resources/qml/MainWindow/MainWindowHeader.qml @@ -122,15 +122,15 @@ Item { id: marketplaceNotificationIcon color: UM.Theme.getColor("notification_icon") - width: marketplaceButton.height / 1.5 + width: (marketplaceButton.height / 1.5) | 0 height: width - radius: 0.5 * width + radius: (0.5 * width) | 0 anchors { top: parent.top right: parent.right - rightMargin: -0.5 * width - topMargin: -0.5 * height + rightMargin: (-0.5 * width) | 0 + topMargin: (-0.5 * height) | 0 } visible: CuraApplication.getPackageManager().packagesWithUpdate.length > 0