• 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: NSTableView - Leopard - Tooltips
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView - Leopard - Tooltips


  • Subject: Re: NSTableView - Leopard - Tooltips
  • From: Manfred Schwind <email@hidden>
  • Date: Thu, 29 Nov 2007 15:47:50 +0100

Under Leopard - how do I suppress the NSTableView tooltips that I do not want to see?

I have carefully crafted my tableViews to display and be edited as multi-line cells and do not want nor need those tooltips getting in the way. Obviously it must be in the documentation somewhere but I cannot find it.

I had the same problem. This is a new feature in Leopard - these are not really tooltips. They just look like tooltips. It's a new feature of NSCell and it's called "expansionFrame". NSTextFieldCells have a default implementation of the expansion drawing, so they draw expanded just like tooltips as soon as there text gets truncated.


See also:
http://developer.apple.com/releasenotes/Cocoa/AppKit.html
"NSCell Automatic Expansion ToolTip Frame".

Or look for expansionFrameWithFrame: inView: in the documentation.

Implement it in your cell subclass and return NSZeroRect to disable this tooltip like stuff.

Regards,
Mani
--
http://www.mani.de
iVolume - Loudness adjustment for iTunes.
LittleSecrets - The encrypted notepad.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSTableView - Leopard - Tooltips (From: Keith Wilson <email@hidden>)

  • Prev by Date: Tiger problem after modifying managed object model at runtime
  • Next by Date: Customizing horizontal scroller:
  • Previous by thread: NSTableView - Leopard - Tooltips
  • Next by thread: Dev tools private frameworks.
  • Index(es):
    • Date
    • Thread