Actions
Bug #4384
closedRFE - let me specify column widths for table output
Description
Using the TablePrinter output_adapter, column widths seem to be hard-coded to 40 characters before being concatenated with ellipsis.
I would like to specify a maximum column width for columns that I know are long strings, like repository-sets.
something like this would be awesome:
output do
field :id, "ID"
field :name, "Name", :col_width => 100
end
also, let me specify that I want the maximum column width to be the same as the longest string in the column:
output do
field :id, "ID"
field :name, "Name", :col_width => :longest # or some other keyword that makes sense
end
Actions