Dear List,

an NSScrollView ("Show Horizontal Scroller" in IB checked) contains an 
NSTextView that displays some RTFD-data, including some pictures. However, the 
Horizontal Scroller is not shown. BTW, TextEdit seems to behave exactly the 
same.

Logging [[myScrollView documentView] frame].size.width shows that it has the 
same value than [[myScrollView contentView] frame].size.width. Please note the 
difference: documentView vs. contentView. That is, it looks like the 
documentView does not notice the presence of pictures wider than the 
contentView?!

I've tried setting the documentView's frame width to the width of the largest 
picture. That sort of works, but as soon as the window (or the view) is 
resized, everything snaps back to the undesired state.

Looking forward to ideas/hints/clues/advice.

Cheers,

Knut





_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to