Commit 8f65e98a authored by Nate Graham's avatar Nate Graham 🔩

Make messages that include BusyIndicators consistent with one another

parent f34b23d5
......@@ -167,6 +167,8 @@ DiscoverPage {
BusyIndicator {
running: parent.visible
Layout.alignment: Qt.AlignCenter
Layout.preferredWidth: Kirigami.Units.gridUnit * 4
Layout.preferredHeight: Kirigami.Units.gridUnit * 4
}
Behavior on opacity {
PropertyAnimation { duration: Kirigami.Units.longDuration; easing.type: Easing.InOutQuad }
......
......@@ -42,12 +42,23 @@ DiscoverPage
Navigation.openCategory(null, "")
}
BusyIndicator {
id: indicator
ColumnLayout {
anchors.centerIn: parent
width: Kirigami.Units.gridUnit * 8
height: width
opacity: 0.5
visible: apps.count === 0 && apps.model.isFetching
Kirigami.Heading {
level: 2
Layout.alignment: Qt.AlignCenter
text: i18n("Loading...")
}
BusyIndicator {
id: indicator
Layout.alignment: Qt.AlignCenter
Layout.preferredWidth: Kirigami.Units.gridUnit * 4
Layout.preferredHeight: Kirigami.Units.gridUnit * 4
}
}
Kirigami.PlaceholderMessage {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment