Re: NSSegmentedControl in a toolbar
Re: NSSegmentedControl in a toolbar
- Subject: Re: NSSegmentedControl in a toolbar
- From: Quincey Morris <email@hidden>
- Date: Wed, 5 May 2010 10:17:04 -0700
On May 5, 2010, at 07:00, Flavio Donadio wrote:
> Yes, I could do it in IB, if only I knew how to put the labels below each segment, which is my ultimate goal here.
And that points to your real problem -- what you want *isn't* a segmented control. Segment controls have their segment labels inside the segments, not below them, which is why (for example) what looks like a segmented control in Mail (Reply -- Reply All -- Forward) isn't one.
If you want to use a segmented control, put the title inside the segments (with an image if you like), and put a shared descriptive label (Send, or something like that, in your example) below.
If you want it to look like the Mail toolbar, then you can't use a segmented control, and you're going to have to do some work. I don't know offhand how to get items with no space between them. Maybe that's what toolbar groups are for -- I've never had occasion to use them.
_______________________________________________
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