• 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
Nesting NSImageView inside NSScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: NSScrollView setDocumentView compile error
  • Next by Date: Re: Rotating an NSView before printing
  • Previous by thread: Re: NSScrollView setDocumentView compile error [Solved]
  • Next by thread: Memory management/freeing with delegate methods
  • Index(es):
    • Date
    • Thread