• 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: 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
  • Follow-Ups:
    • Re: NSTabView problem under Tiger
      • From: Chris Stephens <email@hidden>
References: 
 >NSTabView problem under Tiger (From: Chris Stephens <email@hidden>)
 >Re: NSTabView problem under Tiger (From: Troy Stephens <email@hidden>)
 >Re: NSTabView problem under Tiger (From: Chris Stephens <email@hidden>)

  • Prev by Date: Re: NSTabView problem under Tiger
  • Next by Date: Re: Parent entities
  • Previous by thread: Re: NSTabView problem under Tiger
  • Next by thread: Re: NSTabView problem under Tiger
  • Index(es):
    • Date
    • Thread