Minor tweaks.

This commit is contained in:
Black Hat
2018-11-17 22:39:34 +08:00
parent f0dd0a4c1d
commit 2a8aa34416
9 changed files with 536 additions and 351 deletions

View File

@@ -142,6 +142,7 @@ Control {
property real progress: 0
Layout.fillWidth: true
Layout.minimumHeight: 48
id: inputField
@@ -185,9 +186,13 @@ Control {
onTriggered: currentRoom.sendTypingNotification(true)
}
ToolTip.visible: currentRoom
&& currentRoom.hasUsersTyping
ToolTip.text: currentRoom ? currentRoom.usersTyping : ""
ToolTip {
visible: currentRoom
&& currentRoom.hasUsersTyping
text: currentRoom ? currentRoom.usersTyping : ""
Material.foreground: "white"
}
Keys.onReturnPressed: {
if (event.modifiers & Qt.ShiftModifier) {