mirror of https://github.com/zlatinb/muwire
wrap some lists and comment text area in a scrollPane
parent
933f3e2dab
commit
19da65ae64
|
@ -35,7 +35,9 @@ class CertificateListView {
|
||||||
}
|
}
|
||||||
panel(constraints: BorderLayout.WEST, border: titledBorder(title: trans("SENDER"), border: etchedBorder(), titlePosition: TitledBorder.TOP)) {
|
panel(constraints: BorderLayout.WEST, border: titledBorder(title: trans("SENDER"), border: etchedBorder(), titlePosition: TitledBorder.TOP)) {
|
||||||
gridLayout(rows : 1, cols: 1)
|
gridLayout(rows : 1, cols: 1)
|
||||||
senders = list(items : model.results)
|
scrollPane {
|
||||||
|
senders = list(items: model.results)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
detailsPanel = panel(constraints: BorderLayout.CENTER){
|
detailsPanel = panel(constraints: BorderLayout.CENTER){
|
||||||
borderLayout()
|
borderLayout()
|
||||||
|
|
|
@ -33,7 +33,9 @@ class CollectionListView {
|
||||||
}
|
}
|
||||||
panel(constraints: BorderLayout.WEST, border: titledBorder(title: trans("SENDER"), border: etchedBorder(), titlePosition: TitledBorder.TOP)) {
|
panel(constraints: BorderLayout.WEST, border: titledBorder(title: trans("SENDER"), border: etchedBorder(), titlePosition: TitledBorder.TOP)) {
|
||||||
gridLayout(rows : 1, cols: 1)
|
gridLayout(rows : 1, cols: 1)
|
||||||
senders = list(items : model.results)
|
scrollPane {
|
||||||
|
senders = list(items: model.results)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
detailsPanel = panel(constraints: BorderLayout.CENTER){
|
detailsPanel = panel(constraints: BorderLayout.CENTER){
|
||||||
borderLayout()
|
borderLayout()
|
||||||
|
|
|
@ -90,11 +90,15 @@ class ResultDetailsTabsView {
|
||||||
}
|
}
|
||||||
panel(constraints: BorderLayout.WEST, border: titledBorder(title: trans("SENDER"), border: etchedBorder(), titlePosition: TitledBorder.TOP)) {
|
panel(constraints: BorderLayout.WEST, border: titledBorder(title: trans("SENDER"), border: etchedBorder(), titlePosition: TitledBorder.TOP)) {
|
||||||
borderLayout()
|
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)) {
|
panel(constraints: BorderLayout.CENTER, border: titledBorder(title: trans("COMMENT"), border: etchedBorder(), titlePosition: TitledBorder.TOP)) {
|
||||||
borderLayout()
|
borderLayout()
|
||||||
commentTextArea = textArea(editable: false, lineWrap: true, wrapStyleWord: true, constraints: BorderLayout.CENTER)
|
scrollPane (constraints: BorderLayout.CENTER){
|
||||||
|
commentTextArea = textArea(editable: false, lineWrap: true, wrapStyleWord: true)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue