From 8ae93c6bc12b1a1cf66dcdcabfe4d43f43c25c6d Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 11 Oct 2021 15:19:06 +0200 Subject: [PATCH] Resolve binding loops in sync spinner Contributes to issue CURA-8609. --- .../qml/Preferences/Materials/MaterialsSyncDialog.qml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml b/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml index 69d30167c2..07a225054b 100644 --- a/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml +++ b/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml @@ -365,7 +365,6 @@ Window anchors.right: syncButton.left anchors.rightMargin: UM.Theme.getSize("default_margin").width - anchors.verticalCenter: parent.verticalCenter visible: syncButton.visible text: "" @@ -385,9 +384,7 @@ Window id: syncingIcon height: UM.Theme.getSize("action_button_icon").height width: height - anchors.right: syncingLabel.left - anchors.rightMargin: UM.Theme.getSize("narrow_margin").width - anchors.verticalCenter: parent.verticalCenter + anchors.verticalCenter: syncingLabel.verticalCenter source: UM.Theme.getIcon("ArrowDoubleCircleRight") color: UM.Theme.getColor("primary") @@ -405,8 +402,8 @@ Window Label { id: syncingLabel - anchors.right: parent.right - anchors.verticalCenter: parent.verticalCenter + anchors.left: syncingIcon.right + anchors.leftMargin: UM.Theme.getSize("narrow_margin").width text: catalog.i18nc("@button", "Syncing") color: UM.Theme.getColor("primary")