Re: Image scaling property of NSCell/NSButton - where is it?
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