• 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: bookmarks bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bookmarks bar


  • Subject: Re: bookmarks bar
  • From: Jacob Lukas <email@hidden>
  • Date: Sun, 10 Oct 2004 19:11:55 -0700

After careful testing of NSSegmentedControl, I decided that it wasn't what I nedded. I'm working on a view that displays NSTextCells, but it's proving more difficult that I expected it to. Is there any other class that I can subclass to provide most of the functionality I desire?

Thanks,
Jacob

You should look at NSSegementControl; it already does what you want, for the most part. For text, you need NSTextCell and you simply need to compute the size before you draw, resize the cell, and then draw.

Regards,

Eric Ocean

I'm trying to implement something similar to Safari's bookmarks bar. I want to use NSCells to display text. What is the easiest way to display non-fixed-width NSCells? It will be only one line of cells, and I need a way to figure out if I need to create a menu for the items that don't fit.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >bookmarks bar (From: Jacob Lukas <email@hidden>)
 >Re: bookmarks bar (From: Jacob Lukas <email@hidden>)

  • Prev by Date: Re: toolbar menu erro
  • Next by Date: NSBox With Colored Background And Border
  • Previous by thread: Re: bookmarks bar
  • Next by thread: Re: bookmarks bar
  • Index(es):
    • Date
    • Thread