• 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
Re: Image scaling property of NSCell/NSButton - where is it?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image scaling property of NSCell/NSButton - where is it?


  • Subject: Re: Image scaling property of NSCell/NSButton - where is it?
  • From: Andy Lee <email@hidden>
  • Date: Mon, 07 Apr 2014 00:45:07 -0400

(Forgot to hit Reply All a minute ago.)

I notice both NSImageCell and NSImageView implement setImageScaling:.  Both NSSegmentedCell and NSSegmentedControl implement setImageScaling:forSegment:.

NSButtonCell implements setImageScaling:, and as it turns out so does NSButton -- but the docs don't show the NSButton method.  I don't know if that was an oversight in the docs or there was some reason to hide the NSButton method.  It's very minor, but I'll submit feedback on the docs anyway.

--Andy

On Apr 7, 2014, at 12:38 AM, Graham Cox <email@hidden> wrote:

> Never mind - I found it, it's in NSButtonCell.
>
> --Graham
>
>
> On 7 Apr 2014, at 2:31 pm, Graham Cox <email@hidden> wrote:
>
>> What is actually set when you choose "proportionally down" or "none", etc in IB for image scaling in a button or cell? I can't see any property that takes the type NSImageScaling.
>
>
> _______________________________________________
>
> 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


References: 
 >Image scaling property of NSCell/NSButton - where is it? (From: Graham Cox <email@hidden>)
 >Re: Image scaling property of NSCell/NSButton - where is it? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Image scaling property of NSCell/NSButton - where is it?
  • Next by Date: Re: NSOperation Issues
  • Previous by thread: Re: Image scaling property of NSCell/NSButton - where is it?
  • Next by thread: Accessing self in a C static function within an implementation definition
  • Index(es):
    • Date
    • Thread