• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Is it possible to make the height of an NSSegmentedControl taller?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Is it possible to make the height of an NSSegmentedControl taller?
      • From: Dave Keck <email@hidden>
  • Prev by Date: Re: most suitable framework for network app communication?
  • Next by Date: Re: KVO & Bindings: Proxy object & change notifications
  • Previous by thread: Re: most suitable framework for network app communication?
  • Next by thread: Re: Is it possible to make the height of an NSSegmentedControl taller?
  • Index(es):
    • Date
    • Thread