Revision: 7587
http://skim-app.svn.sourceforge.net/skim-app/?rev=7587&view=rev
Author: hofman
Date: 2011-12-18 12:55:14 +0000 (Sun, 18 Dec 2011)
Log Message:
-----------
use cell height to determine offset for snapshot cell
Modified Paths:
--------------
trunk/SKSnapshotPageCell.m
Modified: trunk/SKSnapshotPageCell.m
===================================================================
--- trunk/SKSnapshotPageCell.m 2011-12-17 12:24:11 UTC (rev 7586)
+++ trunk/SKSnapshotPageCell.m 2011-12-18 12:55:14 UTC (rev 7587)
@@ -78,7 +78,7 @@
- (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView {
NSRect textRect, imageRect;
NSRectEdge topEdge = [controlView isFlipped] ? NSMinYEdge : NSMaxYEdge;
- NSDivideRect(cellFrame, &textRect, &imageRect, 17.0, topEdge);
+ NSDivideRect(cellFrame, &textRect, &imageRect, [super
cellSizeForBounds:cellFrame].height + 1.0, topEdge);
[super drawInteriorWithFrame:textRect inView:controlView];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Windows Azure Live! Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit