Re: Strange toolbar/view/resize cursor interaction
Re: Strange toolbar/view/resize cursor interaction
- Subject: Re: Strange toolbar/view/resize cursor interaction
- From: Eric Shepherd <email@hidden>
- Date: Sun, 20 Apr 2014 15:54:43 -0400
On Sat, Apr 19, 2014 at 4:35 AM, Ken Thomases <email@hidden> wrote:
> * Try calling -frameRectForContentRect: to see if that forces the window
> to recompute how its frame is affected by the toolbar.
>
Nope. :(
>
> * Try setting the window's style mask with -setStyleMask:. I know from
> past experience that that basically rebuilds the private theme frame view
> hierarchy from scratch. Try both resetting to its current style mask and
> changing it to something else and back.
>
Nope. :(
>
> * Try setting the window's frame using -setFrame:display:. Again, try
> setting it to its current value vs. changing it and then back.
>
Nope. :(
>
> * You already suggested that this will work: try toggling the toolbar to
> hidden and then showing again.
>
Now this is crazy: this doesn't work either. What the heck?
>
> You may be able to avoid distracting visuals by disabling screen updates,
> either with -disableFlushWindow/-enableFlushWindow,
> -disableScreenUpdatesUntilFlush, or
> NSDisableScreenUpdates()/NSEnableScreenUpdates()
>
I've tried doing these things both in the window's awakeFromNib and in the
view's, just in case that does it later.
Also, I've finally gotten to a point where I was able to move my toolbar
into my nib. No change though; this same issue happens at the bottom edge.
Eric Shepherd
Gmail: email@hidden
Twitter: sheppy
_______________________________________________
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