• 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: Ellipsis + Proper Expansion Frame + HScroll-Edit in 10.6 NSTableView (was "Clipped Tooltip")
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ellipsis + Proper Expansion Frame + HScroll-Edit in 10.6 NSTableView (was "Clipped Tooltip")


  • Subject: Re: Ellipsis + Proper Expansion Frame + HScroll-Edit in 10.6 NSTableView (was "Clipped Tooltip")
  • From: Corbin Dunn <email@hidden>
  • Date: Wed, 27 Jan 2010 15:38:39 -0800

>
>
> However, I know there is a magic formula somewhere, because when I use the default cell returned by -[NSTableColumn dataCell], all three requirements are satisfied.  Statically, I see that it sets all three attributes to NO.  But when I try this with a raw NSTextFieldCell, only requirement 1 is satisfied.
>
> Maybe there is another attribute involved -- NSCell has several dozen more.  Anybody got a good guess?

Hey Jerry,
I'm sorry; I don't have time to go into the details, but I can tell you what NSTableColumn's default cell is initialized with. It is:

NSTextFieldCell
setEditable:YES
setScrollable:YES
setDrawsBackground:NO
setFont:(systemFontSize)
setLineBreak:NSLineBreakByTruncatingTail
setBackgroundColor:[NSColor controlBackgroundColor]

Good luck,
corbin


_______________________________________________

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

  • Follow-Ups:
    • Re: Ellipsis + Proper Expansion Frame + HScroll-Edit in 10.6 NSTableView (was "Clipped Tooltip")
      • From: Jerry Krinock <email@hidden>
References: 
 >10.6 Clips Tooltip if you return NSTextFieldCell in -dataCellForRow: (From: Jerry Krinock <email@hidden>)
 >Re: 10.6 Clips Tooltip if you return NSTextFieldCell in -dataCellForRow: (From: Corbin Dunn <email@hidden>)
 >Re: Ellipsis + Proper Expansion Frame + HScroll-Edit in 10.6 NSTableView (was "Clipped Tooltip") (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: CALayer maybe silly question
  • Next by Date: Re: Hyperlinks in Table Views
  • Previous by thread: Re: Ellipsis + Proper Expansion Frame + HScroll-Edit in 10.6 NSTableView (was "Clipped Tooltip")
  • Next by thread: Re: Ellipsis + Proper Expansion Frame + HScroll-Edit in 10.6 NSTableView (was "Clipped Tooltip")
  • Index(es):
    • Date
    • Thread