• 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: Changing NSImageView's default background fill color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing NSImageView's default background fill color


  • Subject: Re: Changing NSImageView's default background fill color
  • From: Carl Hoefs <email@hidden>
  • Date: Mon, 22 Jun 2015 16:47:19 -0700

> On Jun 22, 2015, at 4:45 PM, Jens Alfke <email@hidden> wrote:
>
>
>> On Jun 22, 2015, at 4:25 PM, Carl Hoefs <email@hidden <mailto:email@hidden>> 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@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: 
 >Changing NSImageView's default background fill color (From: Carl Hoefs <email@hidden>)
 >Re: Changing NSImageView's default background fill color (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Changing NSImageView's default background fill color
  • Next by Date: Re: Changing the color of an NSWindow’s titlebar text
  • Previous by thread: Re: Changing NSImageView's default background fill color
  • Next by thread: C Assert in BSD Static Library
  • Index(es):
    • Date
    • Thread