From 9d82ebb0edd2d4103a8d7b2b5c1f6f18215fcb3c Mon Sep 17 00:00:00 2001 From: Shantanu Tushar Date: Sun, 27 Dec 2020 19:27:58 +0100 Subject: [PATCH] Use the I-beam cursor when hovering on chat message text field --- imports/NeoChat/Component/ChatTextInput.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/imports/NeoChat/Component/ChatTextInput.qml b/imports/NeoChat/Component/ChatTextInput.qml index 97ddbd70a..2275c5356 100644 --- a/imports/NeoChat/Component/ChatTextInput.qml +++ b/imports/NeoChat/Component/ChatTextInput.qml @@ -314,7 +314,11 @@ ToolBar { text: currentRoom != null ? currentRoom.cachedInput : "" - background: Item {} + background: MouseArea { + acceptedButtons: Qt.NoButton + cursorShape: Qt.IBeamCursor + z: 1 + } Rectangle { width: currentRoom && currentRoom.hasFileUploading ? parent.width * currentRoom.fileUploadingProgress / 100 : 0