Setting Tab View Appearance
These methods let you change the appearance of a tab view:
To change the font used for tab labels, use
setFont:To change the tab view’s size , use
setControlSize:with an argument of eitherNSRegularControlSizeorNSSmallControlSize.To change the tab view’s tint, use
setControlTint:with an argument of eitherNSDefaultControlTintorNSClearControlTint.To choose whether to allow a tab view to truncate the tab labels, use
setAllowsTruncatedLabels:.To choose the tab view’s border style and whether it has visible tabs, use
setTabViewType:with one of these as arguments:NSTopTabsBezelBorder. The view includes tabs and has a bezeled border. This is the default.-
NSNoTabsBezelBorder. The view does not include tabs and has a bezeled border. NSNoTabsLineBorder. The view does not include tabs and has a lined border.NSNoTabsNoBorder. The view does not include tabs and has no border.
These methods let you change the appearance of a tab view item:
To set the tab view item’s label, use
setLabel:.To set the tab view item’s color, use
setColor:.
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-11-06