diff --git a/ui/app/AppLayouts/Chat/ChatColumn.qml b/ui/app/AppLayouts/Chat/ChatColumn.qml index 451959ba84..222482d49a 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn.qml @@ -313,10 +313,8 @@ StackLayout { } - ColumnLayout { - Layout.margins: 0 - Layout.fillHeight: false - Layout.fillWidth: false + Item { + id: element anchors.left: parent.left anchors.leftMargin: 200 anchors.right: parent.right @@ -331,10 +329,10 @@ StackLayout { Text { text: "Select a chat to start messaging" + anchors.horizontalCenter: parent.horizontalCenter font.weight: Font.DemiBold font.pixelSize: 15 color: Theme.darkGrey - Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter } } } diff --git a/ui/app/AppLayouts/Chat/ContactsColumn.qml b/ui/app/AppLayouts/Chat/ContactsColumn.qml index 39cf30d405..fd955b7da3 100644 --- a/ui/app/AppLayouts/Chat/ContactsColumn.qml +++ b/ui/app/AppLayouts/Chat/ContactsColumn.qml @@ -7,13 +7,12 @@ import QtGraphicalEffects 1.12 import "../../../imports" import "./components" -Column { +Item { property alias chatGroupsListViewCount: chatGroupsListView.count property alias searchStr: searchText.text id: contactsColumn width: 300 - // height: parent.height Layout.minimumWidth: 200 Item { @@ -343,8 +342,7 @@ Column { anchors.leftMargin: Theme.padding radius: 8 // Hide the box if it is filtered out - property bool isVisible: searchStr == "" || name.includes( - searchStr) + property bool isVisible: searchStr == "" || name.includes(searchStr) visible: isVisible ? true : false height: isVisible ? 64 : 0 @@ -441,7 +439,7 @@ Column { /*##^## Designer { - D{i:0;height:770;width:300;formeditorColor:"#ffffff"} + D{i:0;formeditorColor:"#ffffff";height:770;width:300} } ##^##*/