Re: NSTabView without tabs
Re: NSTabView without tabs
- Subject: Re: NSTabView without tabs
- From: Matthew Formica <email@hidden>
- Date: Fri, 25 Jan 2002 11:15:50 -0800
This is a bug in Mac OS X version 10.1.x that will be fixed in the next
major version of Mac OS X. You can work around the bug by using a custom
subclass of NSTabView and implementing the following:
- (BOOL) isOpaque
{
return NO;
}
- Matthew
On 1/23/02 11:10 AM, "Stiphane Sudre" <email@hidden> wrote:
>
On Wednesday, January 23, 2002, at 07:59 PM, Mathieu Routhier wrote:
>
>
> Hi,
>
>
>
> Every time I create a NSTabView and I uncheck 'Has Tabs', the tabview
>
> receives a white border and when I resize the window, this border gets
>
> filled with garbage. This is very weird since I believe this is a
>
> common usage of a NSTabView. If I select the 'no border' button and
>
> uncheck the 'draws background', it behaves correctly but of course,
>
> there is no border.
>
>
>
> But I would like to have a border! Is it a known issue? Any
>
> workaround?
>
>
This is a bug.
>
_______________________________________________
>
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.
>
--
Matthew Formica
DTS Engineer - Developer Tools and Cocoa
Apple Computer, Inc.
email@hidden
Mac OS X Development Tools:
http://developer.apple.com/tools/
Project Builder on the web:
http://developer.apple.com/tools/projectbuilder/
Project Builder FAQ:
http://developer.apple.com/tools/projectbuilder/faq.html
Cocoa docs on the web:
http://developer.apple.com/techpubs/macosx/Cocoa/CocoaTopics.html
Cocoa sample code:
http://developer.apple.com/samplecode/Sample_Code/Cocoa.htm