uiux(Profile): adjust layout of contact list section

The contact list was taking the entire width of its surrounding element,
making it grow too wide to be usable (see #1589).

In fact, it's not following the designs made for this part of the application,
so this commit changes the max layout width to align with the intended
design and should also fix some of the usability issues mentioned in #1589

Fixes #1589
This commit is contained in:
Pascal Precht 2021-01-11 14:32:29 +01:00 committed by Iuri Matias
parent 4ff5281f40
commit 686bcd03ca
1 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,10 @@ import "./Contacts"
Item {
id: contactsContainer
Layout.fillHeight: true
anchors.right: parent.right
anchors.rightMargin: contentMargin
anchors.left: parent.left
anchors.leftMargin: contentMargin
property alias searchStr: searchBox.text
property bool isPending: false