Project

General

Profile

Actions

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.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
core
Target version:
Start date:
06/29/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4201

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?

Actions #1

Updated by Derik Barseghian over 15 years ago

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...

Actions #2

Updated by Derik Barseghian over 15 years ago

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.

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 4201

Actions

Also available in: Atom PDF