Re: Tab view customization
Re: Tab view customization
- Subject: Re: Tab view customization
- From: Arun <email@hidden>
- Date: Fri, 11 Sep 2009 13:03:43 +0530
Thanks Graham,
I tried your suggestion and it works well.
But to my surprise i found that if i use a Segmented Control with style as
"Small square", the IB throws a warning if the Deployment target is set as
Mac OS X 10.4.x.
Is there any way in which we can achieve "Small sqaure" style Segmented
Control for Tiger?
Thanks
Arun KA
On Wed, Sep 9, 2009 at 1:24 PM, Graham Cox <email@hidden> wrote:
>
> 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