word wrap

pull/53/head
Zlatin Balevsky 2020-11-05 17:37:23 +00:00
parent 0d39e0d275
commit 08c2fd0b36
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class NewMessageView {
panel(constraints : BorderLayout.CENTER) {
splitPane(orientation : JSplitPane.VERTICAL_SPLIT, continuousLayout : true, dividerLocation : 300) {
scrollPane(border : titledBorder(title : trans("MESSAGE_NOUN"), border : etchedBorder(), titlePosition : TitledBorder.TOP)) {
bodyArea = textArea(editable : true, rows : 10, columns : 50)
bodyArea = textArea(editable : true, rows : 10, columns : 50, lineWrap : true, wrapStyleWord : true)
}
panel (border : titledBorder(title : trans("ATTACHMENT_DROP_TABLE_TITLE"),
border : etchedBorder(), titlePosition : TitledBorder.TOP)) {