You change introduced a side effect for the OpenSocial gadgets: if you
maximise a gadget and then go back to the home view (the initial view). the
height is adjusted but the gadget still takes the full width.

Jasha Joachimsthal

Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522 4466
US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll free)

www.onehippo.com


On 3 November 2011 21:19, Scott Wilson <[email protected]>wrote:

> I've been playing with Wookie and W3C Widgets in Rave, and one of the
> issues is that W3C Widgets don't use callbacks to set their iFrame height
> and width, but instead Widget authors provide a hint for preferred/minimum
> height/width in metadata attributes. (see RAVE-335 for the user story)
>
> I've got this working very nicely, as you can see here:
>
> http://farm7.static.flickr.com/6091/6309728113_0de24307d4_b.jpg
>
> ... but I had to add height and width properties to the core Widget model
> class in Rave plus corresponding getters, setters and JPA annotations. It
> doesn't have any effect on OpenSocial gadgets.
>
> I just wanted to check if we think this is an OK way to solve this (at
> least for now)?
>
> S

Reply via email to