Mailing Lists: Apple Mailing Lists

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

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



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

This email sent to email@hidden
References: 
 >setting minimum size for NSView to display all content without scroll view (From: Warwick Hall <email@hidden>)
 >Re: setting minimum size for NSView to display all content without scroll view (From: "I. Savant" <email@hidden>)
 >Re: setting minimum size for NSView to display all content without scroll view (From: Warwick Hall <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.