Re: Strange toolbar/view/resize cursor interaction
Re: Strange toolbar/view/resize cursor interaction
- Subject: Re: Strange toolbar/view/resize cursor interaction
- From: Quincey Morris <email@hidden>
- Date: Mon, 21 Apr 2014 17:24:24 -0700
On Apr 21, 2014, at 17:15 , Eric Shepherd <email@hidden> wrote:
> I've checked -- [self bounds].origin.y is 0.
That can’t be! What is ‘where.y’ at the very top of your view? Can you log self.bounds so we can see all of it?
Well, it can be. A couple of other possibilities:
— Your view is larger than you think, and <toolbar height> of it is clipped away by its parent.
— Your view’s bounds are vertically scaled by <toolbar height> / <content height>.
Either of those things could be caused by incorrect resizing struts, in a normal view at least. But surely where and bounds must contain the explanation between them?
_______________________________________________
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