Have you looked at this demo:
http://demo.qooxdoo.org/devel/demobrowser/index.html#animation~Transition_Position.html
?

T.

On 05/24/2010 01:48 AM, wclef wrote:
> 
> hi ! 
> 
> I am trying to scale a window to a given dimension but i'm having a hard
> time doing so. Here is what i wrote.
> 
>               var win = new qx.ui.window.Window("Window #").set({
>                       width: 228,
>                   height: 150
>               });
>               
>               var btnCity = new qx.ui.form.Button("City").set({width: 228});
>               btnCity.addListener("execute", function(e) {
>                       
>                       win.moveTo(292,270);
>                       win.open();
>                       
>                       var dimensionsToggle = new 
> qx.fx.effect.core.Scale(this.win).set({
>                               scaleX   : 684,
>                               scaleY   : 400,
>                               duration : 2.0
>                       });
>                       dimensionsToggle.start();
>         }, this);
> 
> When i click on the button the window appears but nothing happens
> afterwards. 
> 
> Thank you for your help

------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to