wrap some lists and comment text area in a scrollPane

auto-update
Zlatin Balevsky 2022-01-08 09:40:11 +00:00
parent 933f3e2dab
commit 19da65ae64
No known key found for this signature in database
GPG Key ID: A72832072D525E41
3 changed files with 12 additions and 4 deletions

View File

@ -35,7 +35,9 @@ class CertificateListView {
}
panel(constraints: BorderLayout.WEST, border: titledBorder(title: trans("SENDER"), border: etchedBorder(), titlePosition: TitledBorder.TOP)) {
gridLayout(rows : 1, cols: 1)
senders = list(items : model.results)
scrollPane {
senders = list(items: model.results)
}
}
detailsPanel = panel(constraints: BorderLayout.CENTER){
borderLayout()

View File

@ -33,7 +33,9 @@ class CollectionListView {
}
panel(constraints: BorderLayout.WEST, border: titledBorder(title: trans("SENDER"), border: etchedBorder(), titlePosition: TitledBorder.TOP)) {
gridLayout(rows : 1, cols: 1)
senders = list(items : model.results)
scrollPane {
senders = list(items: model.results)
}
}
detailsPanel = panel(constraints: BorderLayout.CENTER){
borderLayout()

View File

@ -90,11 +90,15 @@ class ResultDetailsTabsView {
}
panel(constraints: BorderLayout.WEST, border: titledBorder(title: trans("SENDER"), border: etchedBorder(), titlePosition: TitledBorder.TOP)) {
borderLayout()
commentsList = list(items: model.resultsWithComments, constraints: BorderLayout.CENTER)
scrollPane (constraints: BorderLayout.CENTER) {
commentsList = list(items: model.resultsWithComments)
}
}
panel(constraints: BorderLayout.CENTER, border: titledBorder(title: trans("COMMENT"), border: etchedBorder(), titlePosition: TitledBorder.TOP)) {
borderLayout()
commentTextArea = textArea(editable: false, lineWrap: true, wrapStyleWord: true, constraints: BorderLayout.CENTER)
scrollPane (constraints: BorderLayout.CENTER){
commentTextArea = textArea(editable: false, lineWrap: true, wrapStyleWord: true)
}
}
}
}