Re: Tab view customization
Re: Tab view customization
- Subject: Re: Tab view customization
- From: Graham Cox <email@hidden>
- Date: Wed, 9 Sep 2009 17:54:55 +1000
On 09/09/2009, at 5:46 PM, Arun wrote:
How can we customize the NSTabView looks to look like a
NSSegmentedControl?
Any idea or sample code?
You can't customise the tab view that way (unless you subclass it and
do it yourself), but there's a much easier way.
Just set the tab view to tabless and add a segmented control to switch
between the tabs. I believe you can bind the two views together in IB
such that you don't need to write any code to implement the switching,
though personally I haven't done it that way and just write the one
line of code it takes in my controller.
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden