Gadget height in canvas view
pletcher - February 13, 2009 - 16:39
| Project: | OpenSocial Shindig-Integrator |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
In canvas view, gadget height just defaults to whatever the 'height' field is in the db, and gadgets do not call resize_iframe inside gadget view (at least, I haven't seen them do this.) This causes them to get cut off awkwardly. Right now I'm just setting the iframe height to 1000 inside canvas view, but I was wondering if you knew a better way?

#1
Hi pletcher,
We are not able to produce this issue at our end. Please tell us, which specific gadget are you trying to render, so that we can produce this issue at our end also.
Thanks
#2
I experience this with the basic ToDo gadget shindig references in its documentation under D6. It is available here: http://www.labpixies.com/campaigns/todo/todo.xml
Also attached is a screenshot.
Thanks,
jrp
#3
Hi pletcher,
We are working on this issue. I will get back to you, as it will complete.
Thanks
#4
Hi pletcher,
We are facing some problems, while solving this issue with ToDo gadget. Did you feel same issue with some other gadget?
If yes, please let us know.
Thanks
#5
Yes, in every gadget I used I found the canvas view height to be sized like that. Are you using gadgets which require dynamic heights?
Thanks,
jrp
#6
Resolved
#7
Hi,
Could you provide details on how this was resolved ?
We are experiencing the same issue with this widget:
http://drupal.pokersource.info/jpoker/jpoker-opensocial.xml
Thanks in advance.
#8
Hi proppy,
Please use latest ShidigInegrator 6.x-2.0-alpha1 released code. It will solve your problem.
If you will face any issue, let me know.
Thanks
#9
Hi,
I believe the attached patch reproduces and fixes this issues:
There was a duplicate $info['screenshot'] field in save application function.
Hope that helps.
#10
Hi,
Could you review the patch I submitted ?
Thanks in advance.