Re: NSView, Animator, and Autoresizing
Re: NSView, Animator, and Autoresizing
- Subject: Re: NSView, Animator, and Autoresizing
- From: Robert Vojta <email@hidden>
- Date: Fri, 27 Sep 2013 09:11:11 +0200
Hi,
don't have 10.8.X around now. But on redacted, it seems to behave correctly:
* when your view is resizing and I start resizing window,
* animation is stopped,
* your view is being resized correctly according to your mask (left, top,
bottom stays, height is resized)
R.
On Fri, Sep 27, 2013 at 1:33 AM, Seth Willits <email@hidden> wrote:
>
> So it turns out that if a view is being animated via the animator,
> autoresizing is ignored. (The same goes for using a non-blocking
> NSViewAnimation.)
>
> Simple project. Click button, and resize window while the view is slowly
> resizing.
> http://www.sethwillits.com/temp/ViewAnimatorResize.zip
>
> Have one of you clever chaps run into this before and come up with a
> solution? I very much do not want to use a blocking animation. Is this one
> of those cases where auto layout can do some magic?
>
>
> --
> Seth Willits
>
>
>
>
> _______________________________________________
>
> 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
_______________________________________________
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