mirror of https://github.com/zlatinb/muwire
small ui tweak
parent
6fe4155678
commit
43f3cf9b7a
|
@ -187,13 +187,10 @@ class MainFrameView {
|
||||||
gridLayout(rows: 1, cols :2)
|
gridLayout(rows: 1, cols :2)
|
||||||
panel (border : etchedBorder()){
|
panel (border : etchedBorder()){
|
||||||
borderLayout()
|
borderLayout()
|
||||||
panel (constraints : BorderLayout.NORTH) {
|
|
||||||
label("Trusted users")
|
|
||||||
}
|
|
||||||
scrollPane(constraints : BorderLayout.CENTER) {
|
scrollPane(constraints : BorderLayout.CENTER) {
|
||||||
table(id : "trusted-table") {
|
table(id : "trusted-table") {
|
||||||
tableModel(list : model.trusted) {
|
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()){
|
panel (border : etchedBorder()){
|
||||||
borderLayout()
|
borderLayout()
|
||||||
panel (constraints : BorderLayout.NORTH) {
|
|
||||||
label("Distrusted users")
|
|
||||||
}
|
|
||||||
scrollPane(constraints : BorderLayout.CENTER) {
|
scrollPane(constraints : BorderLayout.CENTER) {
|
||||||
table(id : "distrusted-table") {
|
table(id : "distrusted-table") {
|
||||||
tableModel(list : model.distrusted) {
|
tableModel(list : model.distrusted) {
|
||||||
closureColumn(type : String, read : { it.getHumanReadableName() } )
|
closureColumn(header: "Distrusted Users", type : String, read : { it.getHumanReadableName() } )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue