• 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
resizing NSCollectionView enclosed view items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

resizing NSCollectionView enclosed view items


  • Subject: resizing NSCollectionView enclosed view items
  • From: Nicolas Berloquin <email@hidden>
  • Date: Sun, 27 Dec 2009 13:13:18 +0100

Hi !

I'm trying to resize the items displayed inside an NSCollectionView.
I'm not trying to be too fancy, I'm fine if they're all the same size...
There are two methods that seem to indicate that resizing should be taken
into account
(setMin/MaxItemSize), but when I setFrameSize on the "prototype" NSView (not
the item prototype)
nothing happens. I tried sending setNeedsDisplay to the collectionView, with
no effect.
And I can't see any method in any of the collectionView hierarchy that would
tell it to
either resize the enclosed views, or that they have changed size.
Is the NSCollectionView halfway built ? (cf setMin/max)
Am I missing something ?

thanks !
_______________________________________________

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: resizing NSCollectionView enclosed view items
      • From: Nicolas Berloquin <email@hidden>
  • Prev by Date: Re: Dynamically update drawRect
  • Next by Date: Re: Dynamically update drawRect
  • Previous by thread: Re: Compile errors with Objective-C++ properties as STL/TR1 smart pointers
  • Next by thread: Re: resizing NSCollectionView enclosed view items
  • Index(es):
    • Date
    • Thread