Remove loading gif

Instead of an external gif, use the BusyIndicator that exists in the ActionButton.
This commit is contained in:
Diego Prado Gesto 2019-01-13 16:58:38 +01:00
parent 801a43c874
commit c11e0cecc8
5 changed files with 11 additions and 13 deletions

View file

@ -62,17 +62,6 @@ Item
readyAction()
}
}
}
AnimatedImage
{
id: loader
visible: active
source: visible ? "../images/loading.gif" : ""
width: UM.Theme.getSize("toolbox_loader").width
height: UM.Theme.getSize("toolbox_loader").height
anchors.right: button.left
anchors.rightMargin: UM.Theme.getSize("default_margin").width
anchors.verticalCenter: button.verticalCenter
busy: active
}
}