• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: setting text color of a Tab
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting text color of a Tab


  • Subject: Re: setting text color of a Tab
  • From: email@hidden
  • Date: Tue, 21 Jan 2003 14:44:05 -0800 (PST)

Sorry, forgot to specify the subject properly.

Ujwal

> Message: 6
> Date: Tue, 21 Jan 2003 16:15:41 -0500
> Subject: setting text color of a Tab
> From: Edward Fink <email@hidden>
> To: email@hidden
>
> 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@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: cocoa-dev digest, Vol 2 #1837 - 16 msgs
  • Next by Date: Re: How to exec a subtool as root
  • Previous by thread: setting text color of a Tab
  • Next by thread: Subclassing NSControl
  • Index(es):
    • Date
    • Thread