• 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: New Window with Image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New Window with Image


  • Subject: Re: New Window with Image
  • From: Yann Bizeul <email@hidden>
  • Date: Tue, 11 Jan 2005 01:23:19 +0100

is there a short way to open a window with an image? I'd like the window adapting to the size of the image like iTunes does when the user clicks the album cover.
I would create a window in IB, with a full size NSImageView in it, then get the image's size, give the window the same frame (don't forget the title bar) and put your image in the NSView.
--
Yann Bizeul - yann at tynsoe.org
Please use this e-mail when writing to me.


You can visit my projects at this address :
http://projects.tynsoe.org/
(BuddyPop - GeekTool - SSH Tunnel Manager...)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >New Window with Image (From: Luca Torella <email@hidden>)

  • Prev by Date: Re: Revisiting NSTextView bugs in Interface Builder (rant about BugRe porter)
  • Next by Date: Slider with 2 knobs
  • Previous by thread: New Window with Image
  • Next by thread: Variadic arguments to methods in Objective-C - How ?
  • Index(es):
    • Date
    • Thread