Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting minimum size for NSView to display all content without scroll view



hello all,

can someone please explain to me how to set a view's minimum required size (bounds) to display all its contents?

currently, i am trying to create an NSView for printing, and am setting the size of the bounds to 500 x 10000, but that makes for a lot of wasted paper! help me save the planet! say no to wasting paper and tell me what i am missing.

i notice that NSWindow has a contentMinSize message, but it always returns {0, 0}! for you Java developers I need a Frame.pack() type of method, but i cannot find one anywhere.

warwick
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.