• 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: selecting a "sub" icon from an icns file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: selecting a "sub" icon from an icns file


  • Subject: Re: selecting a "sub" icon from an icns file
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 13 May 2010 15:53:17 -0700


On May 13, 2010, at 3:32 PM, John Stoneham wrote:

With Icon Composer, you can have 5 separate images for the 5 icon sizes.
Cool.

They're supposed to be conceptually the same image, just tweaked for better legibility at different sizes. (16 and 32 pixel icons often look blurry if they're automatically scaled down from larger images.)


So I've got an icns file set up as my application icon, and I'd like
to use of the smaller "sub" icons in it for an NSAlert message. Problem is I
can't seem to figure out a way to do this. Anyone have any suggestions?

If the image is displayed at the size of that sub-image, then the sub- image will be drawn. But NSAlert has a single size it uses for icons.


If you want a different icon, you should probably specify it explicitly. It's not hard to create your own alert panel in a nib.

—Jens_______________________________________________

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: 
 >selecting a "sub" icon from an icns file (From: John Stoneham <email@hidden>)

  • Prev by Date: selecting a "sub" icon from an icns file
  • Next by Date: NSArrayController Undo
  • Previous by thread: selecting a "sub" icon from an icns file
  • Next by thread: NSArrayController Undo
  • Index(es):
    • Date
    • Thread