0
[subtitleCell drawInteriorWithFrame:[self subtitleRectForBounds:cellFrame] inView:view];
0
[gravatarCell drawInteriorWithFrame:[self gravatarRectForBounds:cellFrame] inView:view];
0
+- (void)drawWithExpansionFrame:(NSRect)cellFrame inView:(NSView *)view {
0
+ // oddly, the title cell seems to end up with an attributed string when selected
0
+ NSColor *titleColor = [titleCell textColor];
0
+ NSColor *subtitleColor = [subtitleCell textColor];
0
+ NSAttributedString *titleAttStr = [titleCell attributedStringValue];
0
+ [titleCell setStringValue:[titleAttStr string]];
0
+ [titleCell setTextColor:[NSColor blackColor]];
0
+ [subtitleCell setTextColor:[NSColor blackColor]];
0
+ [self drawWithFrame:cellFrame inView:view];
0
+ [titleCell setAttributedStringValue:titleAttStr];
0
+ [titleCell setTextColor:titleColor];
0
+ [subtitleCell setTextColor:subtitleColor];
Comments
No one has commented yet.