From 686bcd03ca293e03fe29e03b3ab1adde36dfff8b Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Mon, 11 Jan 2021 14:32:29 +0100 Subject: [PATCH] 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 --- ui/app/AppLayouts/Profile/Sections/ContactsContainer.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/app/AppLayouts/Profile/Sections/ContactsContainer.qml b/ui/app/AppLayouts/Profile/Sections/ContactsContainer.qml index 149de55b36..01f611ad21 100644 --- a/ui/app/AppLayouts/Profile/Sections/ContactsContainer.qml +++ b/ui/app/AppLayouts/Profile/Sections/ContactsContainer.qml @@ -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