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?

Comments

ramsharma2005’s picture

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

pletcher’s picture

StatusFileSize
new32.56 KB

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

ramsharma2005’s picture

Hi pletcher,

We are working on this issue. I will get back to you, as it will complete.

Thanks

ramsharma2005’s picture

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

pletcher’s picture

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

ramsharma2005’s picture

Status: Active » Closed (fixed)

Resolved

proppy’s picture

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.

ramsharma2005’s picture

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

proppy’s picture

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.

proppy’s picture

Status: Closed (fixed) » Needs review

Hi,

Could you review the patch I submitted ?

Thanks in advance.

ramsharma2005’s picture

Hi proppy,

Your patch looks good me. there in no issues in that. It will be there in the next release of ShindigIntegrator module.

But, I don't think that it would help in such gadget height issues. I will try it sometime on my local installation to check this.

Thanks
Astha

monitor stand’s picture

Excellent blog post, I look forward to reading more.

monitor stands