fix(ContactsListPanel/ContactsView): items have their right side options hidden

Fixes: #6669
This commit is contained in:
Lukáš Tinkl 2022-07-27 20:32:47 +02:00 committed by Lukáš Tinkl
parent d511e5eda3
commit 24775f2f51
2 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -20,7 +20,7 @@ import "../popups"
SettingsContentBase {
id: root
onWidthChanged: { contentItem.width = width; }
onWidthChanged: { contentItem.width = contentWidth; }
onHeightChanged: { contentItem.height = height; }
property ContactsStore contactsStore