setting minimum size for NSView to display all content without scroll view
setting minimum size for NSView to display all content without scroll view
- Subject: setting minimum size for NSView to display all content without scroll view
- From: Warwick Hall <email@hidden>
- Date: Fri, 27 Apr 2007 18:11:04 +1000
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:
This email sent to email@hidden