• 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: Jens Alfke <email@hidden>
  • Date: Sun, 26 Jan 2014 09:30:55 -0800

On Jan 26, 2014, at 4:47 AM, Livio Isaia <email@hidden> wrote:

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

It's the scrollview that does the scrolling, not the collection view. I'll admit that getting scrollviews to work correctly has always been sort of a black art to me, but some things to check:
(1) You did enable horizontal scrolling on the scrollview in IB, right?
(2) Use logging or breakpoints to make sure that the collection view actually keeps the wider size after you're done resizing it; it might have auto-resize or auto-layout behavior that constrains or snaps it back to its original size.

—Jens
_______________________________________________

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: UIDocumentInteractionController open-in multiple UTIs
  • Next by Date: Re: NSCollectionView horizontal scrolling problem
  • Previous by thread: NSCollectionView horizontal scrolling problem
  • Next by thread: Re: NSCollectionView horizontal scrolling problem
  • Index(es):
    • Date
    • Thread