Re: layout method not getting called on Content View
Re: layout method not getting called on Content View
- Subject: Re: layout method not getting called on Content View
- From: Kyle Sluder <email@hidden>
- Date: Wed, 15 Apr 2015 14:59:12 -0500
On Wed, Apr 15, 2015, at 01:47 PM, Dave wrote:
> Hi,
>
> I have a WindowController/Window Combo contained in a NIB.
Window controllers usually don't live in nibs. Instead, they act as the
nib's File's Owner.
> Auto Layout is
> turned off and I want to alter to positions and/or sizes of views inside
> the ContentView. I thought the obvious place to do this was layout, but
> it never seems to get called?
As documented, -layout is only called if Auto Layout is enabled or your
view is layer-backed.
>
> How can I manually lay out the Content View?
I recommend you switch to Auto Layout.
--Kyle Sluder
_______________________________________________
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