(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 <graham....@bigpond.com> wrote:

> Never mind - I found it, it's in NSButtonCell.
> 
> --Graham
> 
> 
> On 7 Apr 2014, at 2:31 pm, Graham Cox <graham....@bigpond.com> 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 (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/aglee%40mac.com
> 
> This email sent to ag...@mac.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to