• 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: tweaking Panther's NSTabView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tweaking Panther's NSTabView


  • Subject: Re: tweaking Panther's NSTabView
  • From: Stéphane Sudre <email@hidden>
  • Date: Fri, 29 Aug 2003 19:03:13 +0200

As a matter of fact, I filed a bug report against this suggesting to provide both the new drawing which is better for some cases and the old drawing as the default one to avoid breaking applications: I let you imagine the problems the new design could have on the current use of NSTabView in OS X 10.2 applications like: ProjectBuilder (I know it's not a NSTabView but since it looks like a NSTabView), Disk Utility, Console.app preferences pane, InterfaceBuilder, etc...

On jeudi, ao{t 28, 2003, at 11:16 PM, Chris Silverberg wrote:

Hi folks,

I just filed a bug about this, but I wanted to see if anyone here has any
thoughts on the issue. The issue is the changes in NSTabView which has been
a hot topic on the Carbon list, but hasn't really been discussed here.

Before I begin, let me note that what I'm discussing here is public
information and shouldn't have any NDA issues. Here is one of many
screenshots of the new NSTabView on apple.com:

http://www.apple.com/macosx/panther/faxing.html

Although I like how the new NSTabView looks, it's problematic for me in some
instances. With the Jaguar's NSTabView, I could place a square subview
inside and have it draw edge to edge. For example, both NSTextView and
NSTableView look great in Jaguar's NSTabView.

But under Panther, these controls look bad. The reason... Panther's
NSTabView has rounded edges and gaps around the edges of the control.

What I really need is a way to customize NSTabView so it looks like the new
control, but retains some of the behavior of the old control. For
example... I'd like to turn off the rounded corners... and eliminate the gap
areas on the left,right, and bottom edges. I'd also like to customize the
gap area on the top so I can draw it myself.

Fortunately, I can probably do some of this in Cocoa using Category method
customizations. I fear I may have to resort to overriding some private
methods in order to do it. But I know there are other developers in the
same boat. Has anyone already attacked this issue? With any success?

thanks,
Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >tweaking Panther's NSTabView (From: Chris Silverberg <email@hidden>)

  • Prev by Date: feedback on printing strategy
  • Next by Date: C
  • Previous by thread: Re: tweaking Panther's NSTabView
  • Next by thread: tweaking Panther's NSTabView
  • Index(es):
    • Date
    • Thread