From: <ho...@us...> - 2009-12-23 12:03:41
|
Revision: 16406 http://bibdesk.svn.sourceforge.net/bibdesk/?rev=16406&view=rev Author: hofman Date: 2009-12-23 12:03:24 +0000 (Wed, 23 Dec 2009) Log Message: ----------- use ceil to autosize column width Modified Paths: -------------- trunk/bibdesk/BDSKMainTableView.m Modified: trunk/bibdesk/BDSKMainTableView.m =================================================================== --- trunk/bibdesk/BDSKMainTableView.m 2009-12-23 07:35:30 UTC (rev 16405) +++ trunk/bibdesk/BDSKMainTableView.m 2009-12-23 12:03:24 UTC (rev 16406) @@ -731,7 +731,7 @@ cell = [self preparedCellAtColumn:column row:row]; width = fmax(width, [cell cellSize].width); } - width = fmin([tableColumn maxWidth], fmax([tableColumn minWidth], width)); + width = fmin([tableColumn maxWidth], fmax([tableColumn minWidth], ceil(width))); [tableColumn setWidth:width]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |