• 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
Icon in NSTabViewItem label
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Icon in NSTabViewItem label


  • Subject: Icon in NSTabViewItem label
  • From: Matt Judy <email@hidden>
  • Date: Sun, 10 Mar 2002 19:30:01 -0800

Hi,

I've got very limited space where a tab view needs to go. To create the best experience, I decided to try using simple, black, glyph-like images on the tabs instead of abbreviations. The mock-ups look very nice, but writing the code is a bit confusing.

From what I've read, I'm going to have to subclass NSTabViewItem and override drawLabel:inRect:. I'm just having trouble getting it to work.

Does anyone have any code or an example where they've gotten this working? Thanks in advance for any help.

--Matt
_______________________________________________
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: What's the better usage in IB.
  • Next by Date: Run an AppleScript from Objective-C?
  • Previous by thread: Re: [OT] Cocoa Programming Book
  • Next by thread: Icon in NSTabViewItem label
  • Index(es):
    • Date
    • Thread