Re: How to get max size of view according to constraints?
Re: How to get max size of view according to constraints?
- Subject: Re: How to get max size of view according to constraints?
- From: Charles Srstka <email@hidden>
- Date: Wed, 21 Mar 2012 12:09:59 -0500
On Mar 21, 2012, at 8:54 AM, Per Bull Holmen wrote:
> I am old school and know nothing about constraints, but given your
> descriptions, perhaps you can tie the document view size to the clip
> view size (which is also called content view) instead of the scroll
> view size?
Actually, what I’m doing currently is to tie it to the clipview’s -documentVisibleRect.size, which is working quite well.
Charles
_______________________________________________
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