From: <ho...@us...> - 2008-09-21 22:12:05
|
Revision: 13669 http://bibdesk.svn.sourceforge.net/bibdesk/?rev=13669&view=rev Author: hofman Date: 2008-09-21 22:12:01 +0000 (Sun, 21 Sep 2008) Log Message: ----------- Avoid level indicator column from being autoresized to an insane width Modified Paths: -------------- trunk/bibdesk/BDSKLevelIndicatorCell.m Modified: trunk/bibdesk/BDSKLevelIndicatorCell.m =================================================================== --- trunk/bibdesk/BDSKLevelIndicatorCell.m 2008-09-21 21:57:06 UTC (rev 13668) +++ trunk/bibdesk/BDSKLevelIndicatorCell.m 2008-09-21 22:12:01 UTC (rev 13669) @@ -61,6 +61,12 @@ return obj; } +- (NSSize)cellSize { + NSSize cellSize = [super cellSize]; + cellSize.width = fminf(100.0, cellSize.width); + return cellSize; +} + - (void)setMaxHeight:(float)h; { maxHeight = h; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |