• 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 - how to dynamically change the height of the elements?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView - how to dynamically change the height of the elements?


  • Subject: Re: NSTableView - how to dynamically change the height of the elements?
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 14 Dec 2011 12:33:02 -0700

On Dec 14, 2011, at 12:17 PM, Nick wrote:

> However, I am getting a weird behavior, the items are not displayed
> smaller or larger, instead they just overlap, the image cell is not
> being scaled normally.
> I suppose, instead of calling [tableView reloadData] i need to direct
> table view to relayout itself completely from scratch.
> How can I do that?
> I have tried -setNeedsLayout:YES and -setNeedsDisplay:YES, but with no effect…


Did you try -noteHeightOfRowsWithIndexesChanged: by any chance?

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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: NSTableView - how to dynamically change the height of the elements?
      • From: Nick <email@hidden>
References: 
 >NSTableView - how to dynamically change the height of the elements? (From: Nick <email@hidden>)

  • Prev by Date: NSTableView - how to dynamically change the height of the elements?
  • Next by Date: Re: NSTableView - how to dynamically change the height of the elements?
  • Previous by thread: NSTableView - how to dynamically change the height of the elements?
  • Next by thread: Re: NSTableView - how to dynamically change the height of the elements?
  • Index(es):
    • Date
    • Thread