Pad the loading spinner
This commit is contained in:
parent
1d3579196a
commit
0971fd0fcc
@ -477,12 +477,22 @@ ScrollView {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
footer: Spinner {
|
footer: Item {
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
running: chat.model && chat.model.paginationInProgress
|
anchors.margins: Nheko.paddingLarge
|
||||||
foreground: Nheko.colors.mid
|
|
||||||
visible: chat.model && chat.model.paginationInProgress
|
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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user