Cap height of send message box, and make it scrollable
This commit is contained in:
@@ -284,6 +284,9 @@ ToolBar {
|
||||
}
|
||||
|
||||
|
||||
ScrollView {
|
||||
Layout.fillWidth: true
|
||||
Layout.maximumHeight: inputField.lineHeight * 8
|
||||
TextArea {
|
||||
id: inputField
|
||||
property real progress: 0
|
||||
@@ -299,7 +302,7 @@ ToolBar {
|
||||
}
|
||||
|
||||
|
||||
Layout.fillWidth: true
|
||||
property int lineHeight: contentHeight / lineCount
|
||||
|
||||
wrapMode: Text.Wrap
|
||||
placeholderText: i18n("Write your message...")
|
||||
@@ -453,6 +456,7 @@ ToolBar {
|
||||
documentHandler.replaceAutoComplete(autoCompleteListView.currentItem.displayText)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ToolButton {
|
||||
|
||||
Reference in New Issue
Block a user