Thanks. It works like a charm.
Regards.
[email protected] escribió:
in the opensocial API you have a gadgets.windows.adjustHeight() that
adjusts the gadget's heigth automatically. You also can provide your
own height if you want. But don't change the code in JSLibrary.java,
it is not needed.
So in your gadget code, just call the adjustHeight method.
Le 9 févr. 10 à 13:29, [email protected]
<mailto:[email protected]> a écrit :
Hi all.
I respond myself: To define a new height it's necessary to modify the
"updateFrameHeight" method of JsLibrary.java:
public static native void updateFrameHeight()/*-{
$wnd.jQuery(".x-panel-body").attr("style","width:100%");
$wnd.jQuery(".gwt-Frame").attr("style","width:100%");
$wnd.jQuery(".gwt-Frame").attr("style","height:400px");
}-*/;
Anybody knows a simple way to do this? Is it possible to change the
height of a single gadget instead all of them?
Regards.
--
Posted by "enriqueperez" at Nuxeo Discussions
<http://nuxeo.org/discussions>
View the complete thread:
<http://www.nuxeo.org/discussions/thread.jspa?threadID=3256#9970>
_______________________________________________
ECM mailing list
[email protected] <mailto:[email protected]>
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
--
*Damien METZLER*
*LEROY MERLIN*
*Service Informatique France*
[email protected] <mailto:[email protected]>
Tél : +33 (0)3 28 80 89 03
Port: +33 (0)6 28 18 77 04
Rue chanzy, 59260 LEZENNES
*www.leroymerlin.fr <http://www.leroymerlin.fr>*
*Pensez à l'environnement, n'imprimez pas ce courriel si cela n'est
pas nécessaire**.*
*
*
*
Ce message et toutes les pieces jointes sont etablis a l'attention
exclusive de leurs destinataires et sont confidentiels. Si vous
recevez ce message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. L'internet ne permettant pas d'assurer
l'integrite de ce message, le contenu de ce message ne represente en
aucun cas un engagement de la part d'ADEO SERVICES.
*
------------------------------------------------------------------------
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
--
Enrique Pérez Olivares.
Dpto I+D.
Yerbabuena Software.
[email protected]
http://www.yerbabuena.es
Tlf/Fax: 902 995 246
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm