• 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: cocoa-dev digest, Vol 2 #1837 - 16 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cocoa-dev digest, Vol 2 #1837 - 16 msgs


  • Subject: Re: cocoa-dev digest, Vol 2 #1837 - 16 msgs
  • From: email@hidden
  • Date: Tue, 21 Jan 2003 14:42:39 -0800 (PST)

> 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: Autorelease pool questions
  • Next by Date: Re: setting text color of a Tab
  • Previous by thread: Centering text vertically within a view
  • Next by thread: Programmatic control of Dock icons & mouse-over text?
  • Index(es):
    • Date
    • Thread