Hard coded width of name field/column in products table

Project: 
Ubercart
Category: 
bug report
Priority: 
normal
Assigned: 
Unassigned
Status: 
active

The width of the Name field/column in the products table (uc_product_table) is hard coded to be 100%, which can cause problems when other fields/columns need to have a significant width (eg a description column). The line in questions is line 885 of uc_product.module:

$data['name'][] = array('data' => l($node->title, 'node/'. $node->nid), 'width' => '100%');

This can be fixed with CSS using:

table.category-products td {
  width: auto;
}

But it would be nice if this wasn't necessary, especially for those who don't know CSS.

On a side note, perhaps column widths could be settable in the TAPIr table settings?

Re: Hard coded width of name field/column in products table

Take a look at http://www.ubercart.org/forum/theming_and_design/3876/backlog_moving_sty... and add this issue in a comment. CSS can easily fix this like you've demonstrated, so I think we leave it be until we fix all of these kinds of problems.