• 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: NSCollectionView horizontal scrolling problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCollectionView horizontal scrolling problem


  • Subject: Re: NSCollectionView horizontal scrolling problem
  • From: Lee Ann Rucker <email@hidden>
  • Date: Sun, 26 Jan 2014 13:16:56 -0800 (PST)
  • Thread-topic: NSCollectionView horizontal scrolling problem

It's been a while since I did this, but you may need to adjust setMinItemSize: too. collectionView likes to resize its frame to fit its contents and vice-versa; the frame size you set will not persist.

----- Original Message -----
From: "Livio Isaia" <email@hidden>
To: "Cocoa Dev List" <email@hidden>
Sent: Sunday, January 26, 2014 4:47:40 AM
Subject: NSCollectionView horizontal scrolling problem

Hi all,

I have a NSCollectionView that displays some NSView objects in one column only. Now I want to programmatically increase the width of one (or all) object to show more details in it, so:

[myObject setFrameSize:newSize];
[collectionView setFrameSize:newSize];

but the NSCollectionView doesn’t enable horizontal scrolling (of course I have NSScrollView->NSClipView->NSCollectionView).

Any idea on how to accomplish that?

Thank you all in advance,
best regards,
livio.


_______________________________________________

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

_______________________________________________

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: 
 >NSCollectionView horizontal scrolling problem (From: Livio Isaia <email@hidden>)

  • Prev by Date: Re: NSCollectionView horizontal scrolling problem
  • Next by Date: Finding events
  • Previous by thread: Re: NSCollectionView horizontal scrolling problem
  • Next by thread: UIDocumentInteractionController open-in multiple UTIs
  • Index(es):
    • Date
    • Thread