Revision: 2845
http://skim-app.svn.sourceforge.net/skim-app/?rev=2845&view=rev
Author: hofman
Date: 2007-09-07 17:26:07 -0700 (Fri, 07 Sep 2007)
Log Message:
-----------
Subtract outline triangle width from column width for auto-resizing note rows.
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2007-09-07 19:57:23 UTC (rev 2844)
+++ trunk/SKMainWindowController.m 2007-09-08 00:26:07 UTC (rev 2845)
@@ -3416,7 +3416,7 @@
- (void)autoSizeNoteRows:(id)sender {
NSTableColumn *tableColumn = [noteOutlineView
tableColumnWithIdentifier:@"note"];
id cell = [tableColumn dataCell];
- float width = NSWidth([cell drawingRectForBounds:NSMakeRect(0.0, 0.0,
[tableColumn width], 17.0)]);
+ float width = NSWidth([cell drawingRectForBounds:NSMakeRect(0.0, 0.0,
[tableColumn width] - 17.0, 17.0)]);
NSSize size = NSMakeSize(width, FLT_MAX);
NSMutableArray *items = [NSMutableArray array];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit