• 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: Drawing glitches in NSTableView with variable row hight (just like Console.app)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing glitches in NSTableView with variable row hight (just like Console.app)


  • Subject: Re: Drawing glitches in NSTableView with variable row hight (just like Console.app)
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 20 Apr 2010 18:49:50 -0700

On 2010 Apr 20, at 17:03, Jens Alfke wrote:

> I wouldn't do it this way (and I speak from past experience, having tried to do this once). You're using NSTableView for something it's not good at — updating layout on the fly as the width changes

OK, the -tableView:heightOfRow: delegate method I suggested is fine if the table has hard line wraps as in my project.

But if we're talking about soft line wraps in table cells which reflow their text and adjust their height when the column width is changed, I suspect that would be a holy mess.  Forget it and take Jens' advice.

_______________________________________________

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: 
 >Drawing glitches in NSTableView with variable row hight (just like Console.app) (From: Marco Masser <email@hidden>)
 >Re: Drawing glitches in NSTableView with variable row hight (just like Console.app) (From: Jerry Krinock <email@hidden>)
 >Re: Drawing glitches in NSTableView with variable row hight (just like Console.app) (From: Jens Alfke <email@hidden>)

  • Prev by Date: Why is compiler warning for +setKeys:triggerChangeNotificationsForDependentKey: ??
  • Next by Date: Re: Why is compiler warning for +setKeys:triggerChangeNotificationsForDependentKey: ??
  • Previous by thread: Re: Drawing glitches in NSTableView with variable row hight (just like Console.app)
  • Next by thread: Re: Drawing glitches in NSTableView with variable row hight (just like Console.app)
  • Index(es):
    • Date
    • Thread