Show spinner again

Contributes to: CURA-8587
This commit is contained in:
Jelle Spijker 2021-12-09 08:30:22 +01:00
parent 7734bf5169
commit 59470814e2
No known key found for this signature in database
GPG Key ID: 6662DC033BE6B99A

View File

@ -55,12 +55,11 @@ Item
UM.RecolorImage UM.RecolorImage
{ {
id: busyIndicator id: busyIndicator
visible: parent.visible
height: UM.Theme.getSize("action_button").height - 2 * UM.Theme.getSize("narrow_margin").height
width: height width: height
anchors.left: parent.left anchors.left: parent.left
anchors.top: parent.top anchors.verticalCenter: parent.verticalCenter
anchors.topMargin: UM.Theme.getSize("narrow_margin").height
anchors.bottom: parent.bottom
anchors.bottomMargin: anchors.topMargin
source: UM.Theme.getIcon("Spinner") source: UM.Theme.getIcon("Spinner")
color: UM.Theme.getColor("primary") color: UM.Theme.getColor("primary")
@ -78,6 +77,7 @@ Item
Label Label
{ {
id: busyMessageText id: busyMessageText
visible: parent.visible
anchors.left: busyIndicator.right anchors.left: busyIndicator.right
anchors.leftMargin: UM.Theme.getSize("narrow_margin").width anchors.leftMargin: UM.Theme.getSize("narrow_margin").width
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter