Skip navigation.
 
mlRe: cocoa-dev digest, Vol 2 #1837 - 16 msgs
FROM : ujwal
DATE : Tue Jan 21 23:42:39 2003

> Message: 6
> Date: Tue, 21 Jan 2003 16:15:41 -0500
> Subject: setting text color of a Tab
> From: Edward Fink <<email_removed>>
> To: <email_removed>
>
> Is there a way to change the color of the label on a tab in an
> NSTabView?  The color of the text/label is black and I do not see a way
> of changing this.
>
> Thanks,
> Ed Fink


Subclass NSTabViewItem and override

- (void)drawLabel:(BOOL)shouldTruncateLabel inRect:(NSRect)tabRect;
- (NSSize) sizeOfLabel: (BOOL) shouldTruncateLabel;

Ujwal
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
No related mails found.