Skip navigation.
 
mlRe: setting minimum size for NSView to display all content without scroll view
FROM : I. Savant
DATE : Sat Apr 28 22:49:00 2007

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.

Related mailsAuthorDate
mlsetting minimum size for NSView to display all content without scroll view Warwick Hall Apr 27, 10:11
mlRe: setting minimum size for NSView to display all content without scroll view I. Savant Apr 27, 12:44
mlRe: setting minimum size for NSView to display all content without scroll view Warwick Hall Apr 28, 22:45
mlRe: setting minimum size for NSView to display all content without scroll view I. Savant Apr 28, 22:49
mlRe: setting minimum size for NSView to display all content without scroll view Warwick Hall Apr 29, 06:22
mlRe: setting minimum size for NSView to display all content without scroll view Shamyl Zakariya Apr 30, 23:35