chore: fix remaining warnings on Chat files

This commit is contained in:
Jonathan Rainville 2020-05-27 13:56:25 -04:00 committed by Iuri Matias
parent b8a5d25d8b
commit 4a00f3f307
2 changed files with 6 additions and 10 deletions

View File

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

View File

@ -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}
}
##^##*/