From f08372879ffd70da6f0cccb0d93b49250ae5cb5a Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Thu, 28 May 2020 15:53:42 -0400 Subject: [PATCH] fix: fix addChat plus sign --- .../Chat/ContactsColumn/AddChat.qml | 22 ++++++++++--------- ui/app/img/plusSign.svg | 3 +++ 2 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 ui/app/img/plusSign.svg diff --git a/ui/app/AppLayouts/Chat/ContactsColumn/AddChat.qml b/ui/app/AppLayouts/Chat/ContactsColumn/AddChat.qml index 060836ef09..cbce1f976c 100644 --- a/ui/app/AppLayouts/Chat/ContactsColumn/AddChat.qml +++ b/ui/app/AppLayouts/Chat/ContactsColumn/AddChat.qml @@ -9,7 +9,6 @@ import "../components" Rectangle { id: addChat - x: 183 width: 36 height: 36 color: Theme.blue @@ -19,18 +18,15 @@ Rectangle { anchors.top: parent.top anchors.topMargin: 59 - Text { + Image { id: addChatLbl - color: "#ffffff" - text: qsTr("+") - anchors.verticalCenterOffset: -1 - anchors.horizontalCenterOffset: 1 + fillMode: Image.PreserveAspectFit + source: "../../../img/plusSign.svg" + width: 14 + height: 14 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter - lineHeight: 1 - fontSizeMode: Text.FixedSize - font.bold: true - font.pixelSize: 28 + state: "default" rotation: 0 states: [ @@ -107,3 +103,9 @@ Rectangle { } } } + +/*##^## +Designer { + D{i:0;formeditorZoom:3} +} +##^##*/ diff --git a/ui/app/img/plusSign.svg b/ui/app/img/plusSign.svg new file mode 100644 index 0000000000..17003d86e5 --- /dev/null +++ b/ui/app/img/plusSign.svg @@ -0,0 +1,3 @@ + + +