Project

General

Profile

Bug #4201

Cannot set column widths on the Workflow Report Tab

Added by Chad Berkley about 10 years ago. Updated about 10 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?

History

#1 Updated by Derik Barseghian about 10 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...

#2 Updated by Derik Barseghian about 10 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.

#3 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 4201

Also available in: Atom PDF