IDEMPIERE-397 Workflow Activities columns too narrow

This commit is contained in:
Carlos Ruiz 2012-08-22 21:19:29 -05:00
parent dfe6970d3d
commit fd63f9626a
1 changed files with 7 additions and 1 deletions

View File

@ -400,8 +400,14 @@ public class WWFActivity extends ADForm implements EventListener
WListItemRenderer renderer = new WListItemRenderer(Arrays.asList(columns)); WListItemRenderer renderer = new WListItemRenderer(Arrays.asList(columns));
ListHeader header = new ListHeader(); ListHeader header = new ListHeader();
header.setWidth("30px"); header.setWidth("60px");
renderer.setListHeader(0, header); renderer.setListHeader(0, header);
header = new ListHeader();
header.setWidth(null);
renderer.setListHeader(1, header);
header = new ListHeader();
header.setWidth(null);
renderer.setListHeader(2, header);
renderer.addTableValueChangeListener(listbox); renderer.addTableValueChangeListener(listbox);
model.setNoColumns(columns.length); model.setNoColumns(columns.length);
listbox.setModel(model); listbox.setModel(model);