Hello,

I'm trying to use OpenLayers inside an qooxdoo application. I've
created a simple wrapper by creating a class [0] that inherits
qx.ui.core.Widget, everything seems to be OK except a little detail...
I need to call [1] the OpenLayers Map.updateSize function [2] after
the widget is resized... but that is not really working.

I guess it does not work because the underline DOM node is only
updated after the "resize" event is fired, that is, the qooxdoo
Element was not yet flushed(?)... do I really need to call
qx.html.Element.flush, or is there a "better" way to handle this?

Thanks!

Best regards,
Rui Lopes

[0] 
http://bitbucket.org/rgl/openlayers-qooxdoo-hello/src/19054bd2b974/source/class/hello/ui/OpenLayersMap.js
[1] 
http://bitbucket.org/rgl/openlayers-qooxdoo-hello/src/19054bd2b974/source/class/hello/ui/OpenLayersMap.js#cl-89
[1] 
http://dev.openlayers.org/docs/files/OpenLayers/Map-js.html#OpenLayers.Map.updateSize

PS: I'm kinda new to qooxdoo and as a newbie I have to tell you that
the interaction between DOM nodes and qooxdoo elements still fells
like magic.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to