• 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
Constraining window width to scrolling contents with autolayout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Constraining window width to scrolling contents with autolayout


  • Subject: Constraining window width to scrolling contents with autolayout
  • From: Rick Mann <email@hidden>
  • Date: Sun, 24 May 2015 22:00:17 -0700

I have a bunch of views statically arranged inside an NSScrollView. Their relative size doesn't change. But it's a large view, and I want to be able to view it on smaller displays, hence the scroll view.

Is there a way to constrain the window size to never be larger than just big enough to disable to scroll bars using autolayout constraints?

--
Rick Mann
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


  • Follow-Ups:
    • Re: Constraining window width to scrolling contents with autolayout
      • From: Jonathan Hull <email@hidden>
  • Prev by Date: Re: NSMutableDictionary Look Up
  • Next by Date: Video not playing
  • Previous by thread: Re: Swift program termination...
  • Next by thread: Re: Constraining window width to scrolling contents with autolayout
  • Index(es):
    • Date
    • Thread