NSSegmentedControl not giving small and mini variants?
NSSegmentedControl not giving small and mini variants?
- Subject: NSSegmentedControl not giving small and mini variants?
- From: m <email@hidden>
- Date: Tue, 16 Dec 2003 18:12:51 -0600
Is NSSegmentedControl broken?
According to the NSSegmentedControl docs: "In common with other
controls, NSSegmentedControl is available in three sizesregular,
small, and mini."
But when I try the three variants, they are all the same height and use
the same size font. The NSMiniControlSize is admittedly slightly
narrower, but I am not getting nearly the difference in sizes I should
be
<
http://developer.apple.com/documentation/UserExperience/Conceptual/
OSXHIGuidelines/XHIGControls/chapter_18_section_3.html#//apple_ref/doc/
uid/TP30000359/TPXREF196>
Here's how I'm setting up a Mini version for example:
[mMiniSegmentedControl setSegmentCount:2];
[[mMiniSegmentedControl cell]setControlSize:NSMiniControlSize];
[mMiniSegmentedControl setLabel:@"Mini"
forSegment:0]; [mMiniSegmentedControl setLabel:@"Control"
forSegment:1];
Any tips, confirmations, or even expressions of sympathy appreciated.
_murat
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.