Limit height of message input field
This commit is contained in:
parent
0e1169e7f4
commit
b0d35aac6c
1 changed files with 1 additions and 0 deletions
|
@ -849,6 +849,7 @@ Page {
|
||||||
TextArea {
|
TextArea {
|
||||||
id: newMessageTextField
|
id: newMessageTextField
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
height: Math.min(chatContainer.height / 3, implicitHeight)
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
placeholderText: qsTr("Your message")
|
placeholderText: qsTr("Your message")
|
||||||
labelVisible: false
|
labelVisible: false
|
||||||
|
|
Loading…
Reference in a new issue