Is it possible to make the height of an NSSegmentedControl taller?
Is it possible to make the height of an NSSegmentedControl taller?
- Subject: Is it possible to make the height of an NSSegmentedControl taller?
- From: Stuart Malin <email@hidden>
- Date: Tue, 10 Mar 2009 22:04:47 -1000
I am using an NSSegmentedControl in a toolbar to hold some mutually
exclusive selections. I invoke -setImage:forSegment: to set an image
for each, but the images are taller than the height of the segments.
I don't seem to have any control over that height with the NSRect I
use to init the segmented control. I have set the segmentStyle to
NSSegmentCapsuleStyle, which provides a bit more height. I have tried
scaling the images to fit (using -setImageScaling:forSegment) but then
the images are too small. Is it possible to override something
somewhere to affect the cells that are used?
_______________________________________________
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