• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTabView problem under Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSTabView problem under Tiger (From: Chris Stephens <email@hidden>)

  • Prev by Date: Re: Link C library in Cocoa.
  • Next by Date: CoreData: get/set methods in undo and flushing of caches
  • Previous by thread: NSTabView problem under Tiger
  • Next by thread: Re: NSTabView problem under Tiger
  • Index(es):
    • Date
    • Thread