Re: Customizing appearance of NSTabView
Re: Customizing appearance of NSTabView
- Subject: Re: Customizing appearance of NSTabView
- From: Greg Hulands <email@hidden>
- Date: Tue, 27 May 2003 16:10:57 +1000
If you subclass NSTabViewItem and implement drawLabel:inRect: then you
can draw images in the tab or whatever your heart desires!
HTH,
Greg
On Tuesday, May 27, 2003, at 10:33 AM, Chuck Soper wrote:
Hello,
If you look at the attributes of an NSTabView object in Interface
Browser you'll see that you can set the tabs to be on top (default),
on the left, on the right, or at the bottom. You can also choose
between default size and small tabs. But, if you really want to
customize the tabs, I think that you would set the attributes to have
no tabs then draw your own.
Chuck
At 3:49 PM -0700 5/26/03, Mark Alldritt wrote:
Hi,
Is anyone aware of an example of a customized NSTabView.
I want to create something very similar to the sheet tabs that appear
in MS
Excel. In this case, the tabs appear in the lower left margin (to
the left
of the bottom scroll bar).
I've been looking at NSTabView and NSTabViewItem, but I don't see any
drawing methods I can override. The only thing I could find was
NSTabViewItem's drawLabel, but that appears to only drag the title of
a
particular tab. I cannot find anything that would allow me to alter
the
overall appearance of the tab panel.
Cheers
-Mark
---------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 333 Moss Street
FAX: 250-383-3204 Victoria, B.C.
WEB: http://www.latenightsw.com/ CANADA V8V-4M9
_______________________________________________
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.