• 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
Dynamically Positioning Resized WebView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dynamically Positioning Resized WebView


  • Subject: Dynamically Positioning Resized WebView
  • From: Pierce Freeman <email@hidden>
  • Date: Sat, 10 Jul 2010 09:51:01 -0700
  • Thread-topic: Dynamically Positioning Resized WebView

Hi Everyone:

In my application, I am placing multiple instances of WebView right below
each other in a NSWindow.  And in order to show the whole content without
scrolling, I am resizing the web views to the size of their content in
(void)webView:(WebView *)sender didFinishLoadForFrame:(WebFrame *)webFrame.
Normally when pragmatically positioning, I adjust the NSRectMake y axis to
the sum of the previous heights.  However, as the resizing is done in a
separate function after the web view loads, I am unsure of how to have this
affect the main y axis variable in the original function.  If anyone could
point me in the right direction, it would be much appreciated!


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

  • Prev by Date: Re: Getting a list of alternative words from NSSpellChecker
  • Next by Date: Re: Custom control and cells
  • Previous by thread: Re: Core Data: many-to-many relationships not being saved
  • Next by thread: [ANN] PFiddlesoft (PreFab) Framework Updates
  • Index(es):
    • Date
    • Thread