• 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: Icon in NSButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Icon in NSButton


  • Subject: Re: Icon in NSButton
  • From: email@hidden
  • Date: Mon, 28 Apr 2003 09:44:57 +0200

On lundi, avril 28, 2003, at 02:11 AM, Michael Hanna wrote:

I have an icon in TIFF format that I added to the project in PB. I
highlight the button in IB, and put the file's path in the Icon field.
However, IB put's the broken image icon inside the buttor(I'm sure the
path is correct, but there is a space in the project's folder name). How
do I get a picture inside a Round NSButton?

2 solutions:

1) Select the Images tabview in your .nib window. An drag and drop the image on the NSButton
2) Just type the name of the image (not its path since it's a resource that will be in the Resources folder) in the Icon field without the extension
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >Icon in NSButton (From: Michael Hanna <email@hidden>)

  • Prev by Date: Re: Custom View
  • Next by Date: Re: NSRegistrationDomain for another application?
  • Previous by thread: Icon in NSButton
  • Next by thread: Saving field editor changes
  • Index(es):
    • Date
    • Thread