Re: NSTabView problem under Tiger
Re: NSTabView problem under Tiger
- Subject: Re: NSTabView problem under Tiger
- From: Fritz Anderson <email@hidden>
- Date: Thu, 23 Jun 2005 07:46:29 -0500
On 22 Jun 2005, at 11:09 PM, Chris Stephens wrote:
Now I have Tiger and it all compiles fine but I get a different
display behaviour in the app when it's running.
...
I have an NSTabView sitting on an NSImageView. The NSImageView
contains a PNG image with a texture.
...
It's like the NSTabViewItem was transparent under Panther but isn't
under Tiger..?
On Panther, I'm guessing you were benefitting from the fact that
overlapping (noncontained) NSViews have undefined behavior, and the
undefined behavior in Panther just happened to be that the
NSTabView's background got drawn behind the NSImageView, while the
tabs and content got drawn in front. In Tiger, the background
apparently gets drawn in the same layer as the rest of the control.
I don't think there's anything you can do and still have NSTabView do
all the work. My next approach would be to have a transparent,
borderless NSTabView do the view switching, and an NSSegmentedControl
substitute for the tabs.
-- F
_______________________________________________
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