> On Jun 22, 2015, at 4:45 PM, Jens Alfke <[email protected]> wrote:
> 
> 
>> On Jun 22, 2015, at 4:25 PM, Carl Hoefs <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> I have a (subclassed) NSImageView in an NSWindow, and when it displays an 
>> image that doesn’t fit proportionally it will show a mid-gray background 
>> fill color around the image, apparently by default. 
> 
> Did you change the imageFrameStyle to NSImageFrameNone? (Which you can do in 
> IB.)
> 
Yes, I just discovered that the above line of code *does* work if the view’s 
border is set to Bezel (Bezelnut, rah rah!) or None, but not if set to Button, 
Groove, or Photo.

-Carl



_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to