Nesting NSImageView inside NSScrollView
Nesting NSImageView inside NSScrollView
- Subject: Nesting NSImageView inside NSScrollView
- From: Hrishikesh Muruk <email@hidden>
- Date: Sat, 28 Apr 2007 21:55:43 +0530
I tried out the "Image Viewer" example from Cocoa Programming (2002)
chapter 3. I dont get the same results as in the book. Here what I
did -
Created a NSImageView inside the window. Set its attributes as follows:
Scaling: None Border: dotted line
Nested NSImageView inside a NSScrollView (Layout->Make Subviews of ->
Scroll view). I resized the scroll view to be the size of the window.
Now when I run the program - I drop an image inside the window but
the scroll bars do not appear. What am I doing incorrectly?
Hrishi
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden