fix: fix addChat plus sign

This commit is contained in:
Jonathan Rainville 2020-05-28 15:53:42 -04:00 committed by Iuri Matias
parent 9bd54881ce
commit f08372879f
2 changed files with 15 additions and 10 deletions

View File

@ -9,7 +9,6 @@ import "../components"
Rectangle { Rectangle {
id: addChat id: addChat
x: 183
width: 36 width: 36
height: 36 height: 36
color: Theme.blue color: Theme.blue
@ -19,18 +18,15 @@ Rectangle {
anchors.top: parent.top anchors.top: parent.top
anchors.topMargin: 59 anchors.topMargin: 59
Text { Image {
id: addChatLbl id: addChatLbl
color: "#ffffff" fillMode: Image.PreserveAspectFit
text: qsTr("+") source: "../../../img/plusSign.svg"
anchors.verticalCenterOffset: -1 width: 14
anchors.horizontalCenterOffset: 1 height: 14
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
lineHeight: 1
fontSizeMode: Text.FixedSize
font.bold: true
font.pixelSize: 28
state: "default" state: "default"
rotation: 0 rotation: 0
states: [ states: [
@ -107,3 +103,9 @@ Rectangle {
} }
} }
} }
/*##^##
Designer {
D{i:0;formeditorZoom:3}
}
##^##*/

3
ui/app/img/plusSign.svg Normal file
View File

@ -0,0 +1,3 @@
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 6V1.00685C8 0.449949 7.55228 0 7 0C6.44386 0 6 0.45078 6 1.00685V6H1.00685C0.449949 6 0 6.44772 0 7C0 7.55614 0.45078 8 1.00685 8H6V12.9932C6 13.5501 6.44772 14 7 14C7.55614 14 8 13.5492 8 12.9932V8H12.9932C13.5501 8 14 7.55228 14 7C14 6.44386 13.5492 6 12.9932 6H8Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 438 B