• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: setting minimum size for NSView to display all content without scroll view
[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


  • 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


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>)

  • Prev by Date: Re: setting minimum size for NSView to display all content without scroll view
  • Next by Date: Re: Memory management/freeing with delegate methods
  • Previous by thread: Re: setting minimum size for NSView to display all content without scroll view
  • Next by thread: Re: setting minimum size for NSView to display all content without scroll view
  • Index(es):
    • Date
    • Thread