diff --git a/ui/app/AppLayouts/Profile/panels/ContactsListPanel.qml b/ui/app/AppLayouts/Profile/panels/ContactsListPanel.qml index cb8c149fb0..e00a5a5bcd 100644 --- a/ui/app/AppLayouts/Profile/panels/ContactsListPanel.qml +++ b/ui/app/AppLayouts/Profile/panels/ContactsListPanel.qml @@ -98,9 +98,7 @@ Item { anchors.right: parent.right anchors.bottom: parent.bottom interactive: false - ScrollBar.vertical: ScrollBar { - policy: contactListRoot.scrollbarOn ? ScrollBar.AlwaysOn : ScrollBar.AsNeeded - } + ScrollBar.vertical.policy: contactListRoot.scrollbarOn ? ScrollBar.AlwaysOn : ScrollBar.AsNeeded model: delegateModel } @@ -109,7 +107,7 @@ Item { ContactPanel { id: panelDelegate - width: (parent.width-10) + width: ListView.view.width name: model.displayName publicKey: model.pubKey iconSource: model.icon diff --git a/ui/app/AppLayouts/Profile/views/ContactsView.qml b/ui/app/AppLayouts/Profile/views/ContactsView.qml index 72ec527e95..2664e61ba7 100644 --- a/ui/app/AppLayouts/Profile/views/ContactsView.qml +++ b/ui/app/AppLayouts/Profile/views/ContactsView.qml @@ -20,7 +20,7 @@ import "../popups" SettingsContentBase { id: root - onWidthChanged: { contentItem.width = width; } + onWidthChanged: { contentItem.width = contentWidth; } onHeightChanged: { contentItem.height = height; } property ContactsStore contactsStore