I have an outline view which comes preconfigured with a scrollview, clipview and the outline view inside that. This project uses autolayout in case that matters).
Currently as you resize the window in either direction, when it gets smaller than the contents of the outline view, in either axes, it clips and shows a scrollbar, like scrollviews .. do. That's the behavior I want in the vertical direction, but I'd like the scrollview to resist being compressed horizontally so you can't ever resize the window to the point you need a horizontal scroll. I can throw in a fixed minimum width constraint on the scrollview or the window, but that seems to be a bad way to do things. I expected there would be a way to tell a scrollview only to be a scrollview in one direction and resist compression in another, but I can't find it. Is there one? _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
