Bug #4201
closed
Cannot set column widths on the Workflow Report Tab
Added by Chad Berkley over 15 years ago.
Updated over 15 years ago.
Description
I'm trying to set the widths on the columns for the workflow report pane. The columns refuse to change their widths. Have tried using setPreferredWidth() (the recommended way) and setWidth(), both to no avail. Code is in WorkflowRunManagerPanel.java line 269. Any ideas?
You can get the WRM column widths to take effect if you first
wrmjTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
However then when you resize your kepler window the columns don't auto-resize, which is really ugly imo. Hopefully there's a way to leave auto_resize on and set default preferred widths...
fixed in r19633.
Feel free to tweak the widths.
I had problems when trying to leave auto resize on and set all setPreferredWidths, but when just setting a few, it seems to work fine.
Original Bugzilla ID was 4201
Also available in: Atom
PDF