Since posting this, I realized that adjustHeight was executing before
the image had finished loading. I've put a setTimeout delay on the
call to solve the problem, but I think that's a less-than-ideal
solution.


On Dec 21, 1:56 pm, "Saxon ~ soulselecta.ca" <[email protected]>
wrote:
> Hi,
>
> I've written a little gadget to allow the user to embed an image (via
> url) in their wave. This works perfectly in Chrome - the users pastes
> the url into the textbox, clicks the button, and the image gets
> embedded and the gadget and message box resize accordingly (using
> gadgets.window.adjustHeight() on stateUpdated() ).
>
> However, if I view a wave with multiple instances of the gadget in
> FireFox (3.5.2 - currently grabbing 3.5.6), some messages do not
> resize, but not all, and not always the same ones (even if there are
> two identical images, sometimes one message resizes and the other only
> shows the top 50 pixels).
>
> The last instance of the gadget always seems to resize properly.
>
> Any ideas?
>
> Thanks,
> Saxon

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.


Reply via email to