NEWBIE: imageScaling - won't expand beyond native size
NEWBIE: imageScaling - won't expand beyond native size
- Subject: NEWBIE: imageScaling - won't expand beyond native size
- From: ber <email@hidden>
- Date: Fri, 23 Aug 2002 00:13:42 -0400
I have an NSMatrix of NSImageCells to which I setImage with
initWithContentsOfFIle from some gif files.
setAutosizesCells is YES. I set the frameSize of the matrix in
relations to the size of its NSWindow as the user
resizes the window.
The images shrink and expand proportionally but they expand only to the
limit of their native size (64x64) after which the cells continue to
grow larger but the gifs remain at 64x64.
The blurb for NSScaleProportionally says "... If the image is too
small it expands. . I read that to mean indefinitely but I'm wondering
if there is a limit, or if the limit I'm seeing has something to do
with the image format (GIF) or the way I'm setting the image.
Thanks,
brian
_______________________________________________
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.