blambo / wave-protocol

Automatically exported from code.google.com/p/wave-protocol
0 stars 0 forks source link

You can't see some gadgets. The window height is stuck at 20 px.. #221

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
1. Click on puzzle icon to "Add gadget by URL."
2. Enter http://blah.appspot.com/wave/sudoku/sudoku.xml
3. Click the Add button.

You should see a sudoku grid but you only see an empty box 20 px high.

Work around for new gadgets: Add a call to gadgets.window.adjustHeight()in the 
gadget initialize function and anytime you change the viewport sizing (see Paul 
Lindner's comment in wave-dev "Gadget Hieght" chain).

For existing gadgets: a code change is needed to resize the gadget window.

Original issue reported on code.google.com by smadiron...@gmail.com on 14 Feb 2011 at 7:33