Re: Icons on the NSTabview
Re: Icons on the NSTabview
- Subject: Re: Icons on the NSTabview
- From: Development <email@hidden>
- Date: Wed, 30 Apr 2008 14:23:01 -0700
Funny you should mention this. I JUST had to contend with this myself.
I did it a little different, more parts but easier to deal with I
think, than trying to recalculate labels and all.
Create a nsview to act a a wrapper.
Place a Tabless tabview inside this
Also place another nsview where ever you would like tabs to appear
Now you can use buttons, which can easily have icons, as the tabs
simply have the buttons tell a nsview controller subclass to switch
the tabs. You can also easily use the setState: to change the button
color for clicked and inactive tabs.
This is an extremely brief description of the process I went through.
If you need more information I can provide a more detailed description
for you.
On Apr 30, 2008, at 7:54 AM, yogesh kumar wrote:
If is it possible to add the icons pictures on the NSTabviews? Any
direction
is appriciated. Thanks.
_______________________________________________
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
_______________________________________________
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