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

Fix visibility of spinner

parent b6d4e6b2
No related branches found
No related tags found
No related merge requests found
......@@ -114,12 +114,9 @@ ApplicationWindow {
}
footer: Spinner {
// This is not a wonderful solution, but it is the best way to calculate whether
// all users are loaded while keeping canFetchMore() const
// TODO: just toggling the visiblity leaves some large empty space at the bottom
// of the list. This should be fixed.
visible: members.numUsersLoaded < members.memberCount
// use the default height if it's visible, otherwise no height at all
height: visible ? undefined : 0
anchors.centerIn: parent
}
}
......
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