FROM : Hrishikesh Muruk
DATE : Sat Apr 28 18:25:43 2007
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
DATE : Sat Apr 28 18:25:43 2007
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
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

