• 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: NSImage in a scroller
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage in a scroller


  • Subject: Re: NSImage in a scroller
  • From: Marco Binder <email@hidden>
  • Date: Fri, 02 Aug 2002 21:17:15 +0200

Kent Miller schrieb:

> My intuition was that when you call setImage and change the image that
> it should reset everything (including the frame). Well, I think the
> frame was being reset but possibly the correct notifications weren't
> being sent out to cause the scrollview to adjust. Live and Learn.

I dont think you4d want the frame of the NSImageView to be changed
automatically every time you change ist content image. Just image, you dont
have it inside a scrollview. You definitly prefer having the image scaled to
fit into the imageview or the image being clipped. If you want the
NSImageView to resize, you should tell it explicitly.

U agree?

marco
_______________________________________________
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: 
 >Re: NSImage in a scroller (From: Kent Miller <email@hidden>)

  • Prev by Date: Re: Glyphs for menus
  • Next by Date: NSUserDefaults Problem
  • Previous by thread: Re: NSImage in a scroller
  • Next by thread: Re: Creating a clickable (web-browser-like) URL control
  • Index(es):
    • Date
    • Thread