BorderLayoutBuilder area = new BorderLayoutBuilder(0, 10);
area.center(usersAndGroups);
// HACK: This assumes that we know exactly what actions are returned and in which order.
Grid buttons = new Grid(0, 2, 10, 10);
for (Action a : modelActions) {
KongaButton button = new KongaButton(a).setUseSmallActionIcon(true);
buttons.add(button);
}
area.south(InvisiblePanel.newPanel(buttons));
return area;
}