small ui tweak

This commit is contained in:
Zlatin Balevsky
2019-06-02 12:00:14 +01:00
parent 6fe4155678
commit 43f3cf9b7a

View File

@ -187,13 +187,10 @@ class MainFrameView {
gridLayout(rows: 1, cols :2)
panel (border : etchedBorder()){
borderLayout()
panel (constraints : BorderLayout.NORTH) {
label("Trusted users")
}
scrollPane(constraints : BorderLayout.CENTER) {
table(id : "trusted-table") {
tableModel(list : model.trusted) {
closureColumn(type : String, read : { it.getHumanReadableName() } )
closureColumn(header : "Trusted Users", type : String, read : { it.getHumanReadableName() } )
}
}
}
@ -205,13 +202,10 @@ class MainFrameView {
}
panel (border : etchedBorder()){
borderLayout()
panel (constraints : BorderLayout.NORTH) {
label("Distrusted users")
}
scrollPane(constraints : BorderLayout.CENTER) {
table(id : "distrusted-table") {
tableModel(list : model.distrusted) {
closureColumn(type : String, read : { it.getHumanReadableName() } )
closureColumn(header: "Distrusted Users", type : String, read : { it.getHumanReadableName() } )
}
}
}