diff --git a/ui/StatusQ/sandbox/demoapp/StatusAppChatView.qml b/ui/StatusQ/sandbox/demoapp/StatusAppChatView.qml index b81d73a080..e7d9010b6d 100644 --- a/ui/StatusQ/sandbox/demoapp/StatusAppChatView.qml +++ b/ui/StatusQ/sandbox/demoapp/StatusAppChatView.qml @@ -27,18 +27,16 @@ StatusAppThreePanelLayout { RowLayout { id: searchInputWrapper - width: parent.width + width: 288 height: searchInput.height anchors.top: headline.bottom anchors.topMargin: 16 - anchors.right: parent.right - anchors.rightMargin: 8 + anchors.horizontalCenter: parent.horizontalCenter StatusBaseInput { id: searchInput Layout.fillWidth: true - Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft - Layout.leftMargin: 17 + Layout.alignment: Qt.AlignVCenter implicitHeight: 36 topPadding: 8 bottomPadding: 8 @@ -61,7 +59,7 @@ StatusAppThreePanelLayout { Column { anchors.top: searchInputWrapper.bottom anchors.topMargin: 16 - width: parent.width + anchors.horizontalCenter: parent.horizontalCenter spacing: 8 StatusContactRequestsIndicatorListItem { @@ -72,7 +70,6 @@ StatusAppThreePanelLayout { } StatusChatList { - anchors.horizontalCenter: parent.horizontalCenter model: Models.demoChatListItems highlightItem: !root.createChat onChatItemUnmuted: { diff --git a/ui/StatusQ/src/StatusQ/Components/StatusChatInfoToolBar.qml b/ui/StatusQ/src/StatusQ/Components/StatusChatInfoToolBar.qml index 5a04a16405..df293bdec1 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusChatInfoToolBar.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusChatInfoToolBar.qml @@ -27,7 +27,6 @@ Item { id: statusChatInfoButton anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left - anchors.leftMargin: 5 anchors.right: (implicitWidth > parent.width - 50) ? statusMenuButton.left : undefined anchors.rightMargin: 5 type: StatusChatInfoButton.Type.OneToOneChat @@ -37,7 +36,6 @@ Item { StatusRoundButton { id: statusMenuButton anchors.right: parent.right - anchors.rightMargin: 8 anchors.verticalCenter: parent.verticalCenter visible: popupMenuSlot.active @@ -104,5 +102,4 @@ Item { } } } - } diff --git a/ui/StatusQ/src/StatusQ/Components/StatusChatListAndCategories.qml b/ui/StatusQ/src/StatusQ/Components/StatusChatListAndCategories.qml index c54c0ed5df..fb602ecc8c 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusChatListAndCategories.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusChatListAndCategories.qml @@ -68,7 +68,6 @@ Item { StatusChatList { id: statusChatList - anchors.horizontalCenter: parent.horizontalCenter visible: statusChatList.model.count > 0 onChatItemSelected: statusChatListAndCategories.chatItemSelected(categoryId, id) onChatItemUnmuted: statusChatListAndCategories.chatItemUnmuted(id)