From 43f3cf9b7ad0a5253c6e31efd9b8b7827111885b Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Sun, 2 Jun 2019 12:00:14 +0100 Subject: [PATCH] small ui tweak --- .../views/com/muwire/gui/MainFrameView.groovy | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy b/gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy index 3e5fdb79..1a1f1788 100644 --- a/gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy +++ b/gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy @@ -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() } ) } } }