Eric Shepherd Gmail: the.she...@gmail.com Twitter: sheppy
On Sun, Apr 20, 2014 at 4:23 PM, Quincey Morris < quinceymor...@rivergatesoftware.com> wrote: > On Apr 20, 2014, at 12:54 , Eric Shepherd <the.she...@gmail.com> wrote: > > Nope. :( > > > The only *technical* suggestion I can add — beyond Ken’s excellent > suggestions — is to move the OpenGL view down a level. That is, assuming > it’s a subview of the window’s content view, make it a subview of a custom > view that is a subview of the content view (with appropriate resizing > behavior at both levels). > That's a good idea. I really thought it had a chance at working, but it didn't make any difference. > > More generally, though, you might reconsider using a NSToolbar at all. I > guess the geometry of NSToolbar has always been "neither fish nor fowl" > (that is, sort of part of the window frame, yet sort of part of the window > content), and its presence may be disturbing some assumption a NSOpenGLView > makes about its own relationship with the window. There may be an inherent > conflict there, at least in recent versions of OS X. > Yeah, I'm starting to wonder about this myself. I think if I'm not able to puzzle this out by tomorrow sometime, I will start working on ripping out the NSToolbar stuff and do something else instead, although to be honest I'm really wanting the degree of consistency I can achieve by using NSToolbar. Lots of great suggestions, everyone... hopefully we'll hit on one that does the trick! I also tried playing with setContentBorderThickness:forEdge: on the bottom border (along with turning off autorecalculate), but that didn't help either. In fact, it just started throwing exceptions about invalid values being passed to setAutoRecalculatesContentBorderThickness:forEdge. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com