fix(CreateChatView): adjust start chat page (#863)

Add fix from https://github.com/status-im/status-desktop/pull/7077 to
demoapp
This commit is contained in:
PavelS 2022-08-22 10:35:23 +03:00 committed by Michał Cieślak
parent 23e50341d2
commit 33786814b9
1 changed files with 3 additions and 4 deletions

View File

@ -98,16 +98,15 @@ Page {
anchors.fill: parent
StatusBaseText {
anchors.left: parent.left
anchors.leftMargin: 252
anchors.right: parent.right
anchors.rightMargin: 252
width: Math.min(553, parent.width - 32)
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
anchors.verticalCenterOffset: -(headerRow.height/2)
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
visible: contactsModel.count === 0
wrapMode: Text.WordWrap
font.pixelSize: 15
color: Theme.palette.baseColor1
text: qsTr("You can only send direct messages to your Contacts.\n
Send a contact request to the person you would like to chat with, you will be able to chat with them once they have accepted your contact request.")