Re: setting minimum size for NSView to display all content without scroll view
Re: setting minimum size for NSView to display all content without scroll view
- Subject: Re: setting minimum size for NSView to display all content without scroll view
- From: "I. Savant" <email@hidden>
- Date: Sat, 28 Apr 2007 16:49:00 -0400
On Apr 28, 2007, at 4:45 PM, Warwick Hall wrote:
it is a webview and webview does not use the usual addSubview
method to build its contents, so it is hard to get the HTML
subviews in order to get their sizeToFit's and i want to rip my
hair out!
Then why not ask the web view for its -dataWithPDFInsideRect: then
do whatever you like with it? Perhaps render it to a view of
appropriate size or whatever.
It's not entirely clear what you're trying to do. If you're trying
to print a web view, what's wrong with its default printing
implementation?
--
I.S.
_______________________________________________
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