word-wrap the comment views
This commit is contained in:
@@ -43,7 +43,7 @@ class AddCommentView {
|
|||||||
borderLayout()
|
borderLayout()
|
||||||
panel (constraints : BorderLayout.CENTER) {
|
panel (constraints : BorderLayout.CENTER) {
|
||||||
scrollPane {
|
scrollPane {
|
||||||
textarea = textArea(text : comment, rows : 20, columns : 100, editable : true)
|
textarea = textArea(text : comment, rows : 20, columns : 100, editable : true, lineWrap:true, wrapStyleWord:true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
panel (constraints : BorderLayout.SOUTH) {
|
panel (constraints : BorderLayout.SOUTH) {
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ class ShowCommentView {
|
|||||||
borderLayout()
|
borderLayout()
|
||||||
panel (constraints : BorderLayout.CENTER) {
|
panel (constraints : BorderLayout.CENTER) {
|
||||||
scrollPane {
|
scrollPane {
|
||||||
textArea(text : model.result.comment, rows : 20, columns : 100, editable : false)
|
textArea(text : model.result.comment, rows : 20, columns : 100, editable : false, lineWrap : true, wrapStyleWord : true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
panel (constraints : BorderLayout.SOUTH) {
|
panel (constraints : BorderLayout.SOUTH) {
|
||||||
|
|||||||
Reference in New Issue
Block a user