mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 09:37:29 +02:00
Select chat text input using mouse.
This commit is contained in:
parent
56b473fcdf
commit
6363f0beec
1 changed files with 6 additions and 5 deletions
|
@ -188,11 +188,12 @@ Rectangle {
|
|||
height: parent.height
|
||||
|
||||
TextField {
|
||||
width: parent.width - 60
|
||||
height: parent.height
|
||||
placeholderText: pageVal.charAt(0).toUpperCase() + pageVal.slice(1) + " chat message..."
|
||||
clip: false
|
||||
font.italic: text == ""
|
||||
width: parent.width - 60;
|
||||
height: parent.height;
|
||||
placeholderText: pageVal.charAt(0).toUpperCase() + pageVal.slice(1) + " chat message...";
|
||||
clip: false;
|
||||
font.italic: text == "";
|
||||
selectByMouse: true;
|
||||
|
||||
Keys.onPressed: {
|
||||
if ((event.key === Qt.Key_Return || event.key === Qt.Key_Enter) && !(event.modifiers & Qt.ShiftModifier)) {
|
||||
|
|
Loading…
Reference in a new issue