mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 20:35:53 +08:00
Resolve binding loops in sync spinner
Contributes to issue CURA-8609.
This commit is contained in:
parent
ffd3277854
commit
8ae93c6bc1
@ -365,7 +365,6 @@ Window
|
|||||||
|
|
||||||
anchors.right: syncButton.left
|
anchors.right: syncButton.left
|
||||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
|
|
||||||
visible: syncButton.visible
|
visible: syncButton.visible
|
||||||
text: ""
|
text: ""
|
||||||
@ -385,9 +384,7 @@ Window
|
|||||||
id: syncingIcon
|
id: syncingIcon
|
||||||
height: UM.Theme.getSize("action_button_icon").height
|
height: UM.Theme.getSize("action_button_icon").height
|
||||||
width: height
|
width: height
|
||||||
anchors.right: syncingLabel.left
|
anchors.verticalCenter: syncingLabel.verticalCenter
|
||||||
anchors.rightMargin: UM.Theme.getSize("narrow_margin").width
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
|
|
||||||
source: UM.Theme.getIcon("ArrowDoubleCircleRight")
|
source: UM.Theme.getIcon("ArrowDoubleCircleRight")
|
||||||
color: UM.Theme.getColor("primary")
|
color: UM.Theme.getColor("primary")
|
||||||
@ -405,8 +402,8 @@ Window
|
|||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
id: syncingLabel
|
id: syncingLabel
|
||||||
anchors.right: parent.right
|
anchors.left: syncingIcon.right
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.leftMargin: UM.Theme.getSize("narrow_margin").width
|
||||||
|
|
||||||
text: catalog.i18nc("@button", "Syncing")
|
text: catalog.i18nc("@button", "Syncing")
|
||||||
color: UM.Theme.getColor("primary")
|
color: UM.Theme.getColor("primary")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user