FROM : Warwick Hall
DATE : Fri Apr 27 10:11:04 2007
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
DATE : Fri Apr 27 10:11:04 2007
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
| Related mails | Author | Date |
|---|---|---|
| Warwick Hall | Apr 27, 10:11 | |
| I. Savant | Apr 27, 12:44 | |
| Warwick Hall | Apr 28, 22:45 | |
| I. Savant | Apr 28, 22:49 | |
| Warwick Hall | Apr 29, 06:22 | |
| Shamyl Zakariya | Apr 30, 23:35 |






Cocoa mail archive

