• 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: layout method not getting called on Content View
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: layout method not getting called on Content View


  • Subject: Re: layout method not getting called on Content View
  • From: David Duncan <email@hidden>
  • Date: Wed, 15 Apr 2015 14:17:21 -0700

> On Apr 15, 2015, at 2:06 PM, Dave <email@hidden> wrote:
>
>>
>> I recommend you switch to Auto Layout.
>
> AFAICT, Auto-Layout won’t let me do what I want to do.
>
> This is so simple. The NIB file is owned by the window controller. The window is a large window and initially has two frames in it. Later on, I get Notifications telling me a new position and size for the two Views.

The very minimal thing you could do in auto layout for this is as simple as specifying constraints for leading, trailing, width, and height – and you will get exactly what you want by setting the constraints as requested by your notification. This minimal change would do exactly what the frame setting you are trying to do would do.

> I just want set the frame on these two views so it reflects the data from the Notification. I can’t see how auto-layout will help me to do this? The Window can’t be resized and even it it were to be resized, I wouldn’t want anything in the window to change position or size.
>
> Thanks, All the Best
> Dave
>
>
> _______________________________________________
>
> 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

--
David Duncan


_______________________________________________

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: layout method not getting called on Content View
      • From: Dave <email@hidden>
References: 
 >layout method not getting called on Content View (From: Dave <email@hidden>)
 >Re: layout method not getting called on Content View (From: Kyle Sluder <email@hidden>)
 >Re: layout method not getting called on Content View (From: Dave <email@hidden>)

  • Prev by Date: Re: layout method not getting called on Content View
  • Next by Date: Re: User interface unresponsive in window
  • Previous by thread: Re: layout method not getting called on Content View
  • Next by thread: Re: layout method not getting called on Content View
  • Index(es):
    • Date
    • Thread