• 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
Resize NSCollectionView items after resize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Resize NSCollectionView items after resize


  • Subject: Resize NSCollectionView items after resize
  • From: Steve Mills <email@hidden>
  • Date: Thu, 20 Oct 2016 12:47:55 -0500

I have an NSCollectionView whose items' size are dependent on a zoom slider, with the largest zoom fitting 1 item within the width or height of the enclosingScrollView. What's the best way to cause the items to resize as a result of the NSCollectionView being resized (caused by window resize, enclosing splitter resize, etc)? Maybe set up a notification handler for NSViewFrameDidChangeNotification on the NSCollectionView's enclosingScrollView? Or is there something in the massive collection of collection and layout classes that would be better? I looked through it all, but nothing makes sense for this.

--
Steve Mills
Drummer, Mac geek


_______________________________________________

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: Resize NSCollectionView items after resize
      • From: Laurent Daudelin <email@hidden>
  • Prev by Date: Re: inconsistencies in view renderings
  • Next by Date: Layout and Popovers
  • Previous by thread: Re: iOS: Preventing a singleton from being deallocated when the app is in the background.
  • Next by thread: Re: Resize NSCollectionView items after resize
  • Index(es):
    • Date
    • Thread