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 GitHub
parent 6c107b5760
commit 6e93b4ec41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -98,16 +98,15 @@ Page {
anchors.fill: parent anchors.fill: parent
StatusBaseText { StatusBaseText {
anchors.left: parent.left width: Math.min(553, parent.width - 32)
anchors.leftMargin: 252 anchors.horizontalCenter: parent.horizontalCenter
anchors.right: parent.right
anchors.rightMargin: 252
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.verticalCenterOffset: -(headerRow.height/2) anchors.verticalCenterOffset: -(headerRow.height/2)
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
visible: contactsModel.count === 0 visible: contactsModel.count === 0
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
font.pixelSize: 15
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
text: qsTr("You can only send direct messages to your Contacts.\n 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.") 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.")