diff --git a/discover/qml/UpdatesPage.qml b/discover/qml/UpdatesPage.qml --- a/discover/qml/UpdatesPage.qml +++ b/discover/qml/UpdatesPage.qml @@ -45,6 +45,14 @@ onTriggered: resourcesUpdatesModel.updateAll() } + BusyIndicator { + id: indicator + anchors.centerIn: parent + width: Kirigami.Units.gridUnit * 8 + height: width + visible: page.isBusy + } + footer: ScrollView { id: scv width: parent.width @@ -137,13 +145,6 @@ visible: page.footerLabel !== "" text: page.footerLabel } - BusyIndicator { - id: indicator - Layout.alignment: Qt.AlignHCenter - Layout.preferredWidth: Kirigami.Units.gridUnit * 12 - Layout.preferredHeight: Layout.preferredWidth - visible: page.isBusy - } Kirigami.Icon { Layout.alignment: Qt.AlignHCenter visible: !indicator.visible && page.footerLabel !== "" @@ -319,7 +320,6 @@ states: [ State { name: "fetching" - PropertyChanges { target: page; footerLabel: i18nc("@info", "Fetching Updates...") } PropertyChanges { target: page; isBusy: true } }, State {