Skip to content
Snippets Groups Projects
Commit 0971fd0f authored by Loren Burkholder's avatar Loren Burkholder
Browse files

Pad the loading spinner

parent 1d357919
No related branches found
No related tags found
No related merge requests found
......@@ -477,12 +477,22 @@ ScrollView {
}
footer: Spinner {
footer: Item {
anchors.horizontalCenter: parent.horizontalCenter
running: chat.model && chat.model.paginationInProgress
foreground: Nheko.colors.mid
anchors.margins: Nheko.paddingLarge
visible: chat.model && chat.model.paginationInProgress
z: 3
// hacky, but works
height: loadingSpinner.height + 2 * Nheko.paddingLarge
Spinner {
id: loadingSpinner
anchors.centerIn: parent
anchors.margins: Nheko.paddingLarge
running: chat.model && chat.model.paginationInProgress
foreground: Nheko.colors.mid
z: 3
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment