Re: NSImage in a scroller
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.