fix(UserListPanel): Removed margin when the list positioned not at the end

Closes #7526
This commit is contained in:
Michał Cieślak 2022-09-26 10:54:14 +02:00 committed by Michał
parent c931f716e8
commit f48aee2e44
1 changed files with 64 additions and 54 deletions

View File

@ -39,10 +39,7 @@ Item {
text: root.label
}
StatusListView {
id: userListView
objectName: "userListPanel"
Item {
anchors {
top: titleText.bottom
topMargin: Style.current.padding
@ -51,11 +48,23 @@ Item {
right: parent.right
rightMargin: Style.current.halfPadding
bottom: parent.bottom
bottomMargin: Style.current.bigPadding
}
clip: true
StatusListView {
id: userListView
objectName: "userListPanel"
clip: false
anchors.fill: parent
anchors.bottomMargin: Style.current.bigPadding
displayMarginEnd: anchors.bottomMargin
model: SortFilterProxyModel {
sourceModel: usersModule.model
sorters: [
RoleSorter {
roleName: "onlineStatus"
@ -110,6 +119,7 @@ Item {
}
}
}
}
Component {
id: sectionDelegateComponent