diff --git a/ui/app/AppLayouts/Chat/ChatColumn/ChatInput.qml b/ui/app/AppLayouts/Chat/ChatColumn/ChatInput.qml index 97a67d2a6f..9ea12a790b 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn/ChatInput.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn/ChatInput.qml @@ -22,12 +22,11 @@ Rectangle { Button { id: chatSendBtn + visible: txtData.length > 0 x: 100 width: 30 height: 30 - text: "\u2191" - font.bold: true - font.pointSize: 12 + text: "" anchors.top: parent.top anchors.topMargin: 20 anchors.right: parent.right @@ -36,11 +35,17 @@ Rectangle { chatsModel.onSend(txtData.text) txtData.text = "" } - enabled: txtData.text !== "" background: Rectangle { color: parent.enabled ? Theme.blue : Theme.grey radius: 50 } + Image { + source: "../../../img/arrowUp.svg" + width: 12 + fillMode: Image.PreserveAspectFit + anchors.horizontalCenter: parent.horizontalCenter + anchors.verticalCenter: parent.verticalCenter + } } TextField { @@ -78,4 +83,9 @@ Rectangle { } } } -} \ No newline at end of file +} +/*##^## +Designer { + D{i:0;width:600} +} +##^##*/ diff --git a/ui/app/img/arrowUp.svg b/ui/app/img/arrowUp.svg new file mode 100644 index 0000000000..117d193f5e --- /dev/null +++ b/ui/app/img/arrowUp.svg @@ -0,0 +1,3 @@ + + +