Re: Image loaded/displayed at the wrong size
Re: Image loaded/displayed at the wrong size
- Subject: Re: Image loaded/displayed at the wrong size
- From: Shawn Erickson <email@hidden>
- Date: Sat, 15 Feb 2003 14:11:13 -0800
I put together a simple application to show what is one possible
solution (you could use a scroll view instead, etc.) to the issue,
that I think, you are seeing. This is a simple app that doesn't do
some of the screen bounds and error checking needed, etc. It is just
an example.
Simply drop a picture onto the applications window to get it displayed.
Application
http://homepage.mac.com/~shawnce/dev/examples/image_draw.app.tgz
Source/Project
http://homepage.mac.com/~shawnce/dev/examples/image_draw.tgz
Fixed a layout issue with the NSImageView issue (fixed in NIB) and
updated it to correctly grow the window down and to the right.
-Shawn
_______________________________________________
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.