tweaking Panther's NSTabView
tweaking Panther's NSTabView
- Subject: tweaking Panther's NSTabView
- From: Chris Silverberg <email@hidden>
- Date: Thu, 28 Aug 2003 14:16:15 -0700
- Organization: Silverberg.Net
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.