I've read that qx's animations are intended only for dom objects, not for
widgets.
I don't know how much of that is true. Maybe I'm trying to do something
imposible at this time.
But here is is: using pairs of efects like shrink/grow, fold out/fold in,
drop out/drop in, etc.
I've found that the first effect works perfectly, but the second one always
repaint
(if the word is correct) the widget moved verticaly (like 100px or so) of
the original
position (all my effects test has been done with framework's default values)
and I can't find a way to make it work as expected.
Here is an example of code of my library:
shrink : function(obj)
{
var dom =
obj.getContainerElement().getDomElement();
var temp = new
qx.fx.effect.combination.Shrink(dom);
temp.start();
},
grow : function(obj)
{
var dom =
obj.getContainerElement().getDomElement();
var temp = new
qx.fx.effect.combination.Grow(dom);
temp.start();
},
As you can see, there is nothing strange here. The obj is normaly a widget.
I just do shrink(widget) and then grow(widget) using two buttons for the
tests.
If you do it repeatedly, the problem get incremented (moved more and more).
Any idea?
Thanks,
Herman Gomez.
-----
la vida es una incesante cadena de oportunidades para aprender y triunfar.
life is an endless chain of opportunities to learn and succeed.
lo más importante: ser selectivo, responsable y perseverante.
the most importantly: to be selective, responsible and persevering.
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/problem-animating-a-widget-tp6621553p6621553.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel