Re: NSTabView problem under Tiger
Re: NSTabView problem under Tiger
- Subject: Re: NSTabView problem under Tiger
- From: Troy Stephens <email@hidden>
- Date: Thu, 23 Jun 2005 17:58:18 -0700
On Jun 23, 2005, at 5:27 PM, Chris Stephens wrote:
On 24/06/2005, at 8:38 AM, Troy Stephens wrote:
Having the NSTabView fill its own content background is indeed new
behavior on Tiger, which was introduced to improve window redraw
performance.
Note that NSTabView does not fill its content background when
placed in a textured (metal) window (though a textured window
might not be what you want).
Thanks for the information - I confess I'm not quite sure of the
implications though.
I've looked at the online API documentation for NSTabView and
nothing there seems to indicate how I set the content background of
NSTabView - am I missing something?
Or are you saying that I can't do in Tiger what I could do in
Panther..?
Any help would be much appreciated - I was just about to release
this application and now I'm stalled.
I guess also that Interface Builder hasn't been updated to reflect
this new behaviour...
Thanks in advance,
Chris
I suspect the problem in your app's case is that the view that's
drawing the background image is a sibling to the top-level
NSTabView. Make the NSTabView a subview of the image view instead,
and you should get the result you want. (NSTabView's background-fill
optimization is only enabled when the tab view is a direct subview of
its window's contentView.)
--
Troy Stephens
Cocoa Frameworks
Apple Computer, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden