Revision: 7564
http://skim-app.svn.sourceforge.net/skim-app/?rev=7564&view=rev
Author: hofman
Date: 2011-12-09 23:51:42 +0000 (Fri, 09 Dec 2011)
Log Message:
-----------
don't bother centering text in text+icon cell as we never need to
Modified Paths:
--------------
trunk/SKTextWithIconCell.m
Modified: trunk/SKTextWithIconCell.m
===================================================================
--- trunk/SKTextWithIconCell.m 2011-12-05 12:49:47 UTC (rev 7563)
+++ trunk/SKTextWithIconCell.m 2011-12-09 23:51:42 UTC (rev 7564)
@@ -112,10 +112,8 @@
}
- (void)drawInteriorWithFrame:(NSRect)aRect inView:(NSView *)controlView {
- // let super draw the text, but vertically center the text for tall cells,
because NSTextFieldCell aligns at the top
+ // let super draw the text
NSRect textRect = [self textRectForBounds:aRect];
- if (NSHeight(textRect) > [self cellSize].height + 2.0)
- textRect = SKCenterRectVertically(textRect, [self cellSize].height +
2.0, [controlView isFlipped]);
[super drawInteriorWithFrame:textRect inView:controlView];
// Draw the image
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit