Hi Gabi, i tested your playground too, but it seems, that display is not none, just take a look at left and top css properties, this is exactly I wrote before, the offset is wrong!
Regards Sak SAKsystems Inh. Mustafa Sak Varrelmannstr. 16 30453 Hannover Tel. +49 511 / 165 969 40 Fax +49 511 / 165 969 49 Mobil +49 163 / 312 6144 http://www.saksys.de [email protected] STEUER-Nr. 2613817458 -----Ursprüngliche Nachricht----- Von: Gabriel Munteanu [mailto:[email protected]] Gesendet: Dienstag, 26. Juli 2011 13:47 An: [email protected] Betreff: Re: [qooxdoo-devel] problem animating a widget Hi, I have created a simple new gui app and tried your functions: here is my main function: ------------------------------- main : function() { this.base(arguments); var shrink = function(obj) { var dom = obj.getContainerElement().getDomElement(); var temp = new qx.fx.effect.combination.Shrink(dom); temp.start(); } var grow = function(obj) { var dom = obj.getContainerElement().getDomElement(); var temp = new qx.fx.effect.combination.Grow(dom); temp.start(); } var button1 = new qx.ui.form.Button("First Button", "icon/22/apps/internet-web-browser.png"); var doc = this.getRoot(); doc.add(button1, { left : 100, top : 50 }); button1.addListener("execute", function(e) { grow(this); // shrink(this); }); } ----------------------------- when i call grow, it all works fine [it is set to 0 width and height, after that is grown back to original size]. however, shrink makes it as small as zero width and height, that is why it disappears. I also tried this example in the playground, and the results are different than in the application: http://tinyurl.com/3nbjrd5 when i click the button, it gets display: none immediatly. I will study more into it, as right now I am looking into animation anyway. cheers, Gabi -- View this message in context: http://qooxdoo.678.n2.nabble.com/problem-animating-a-widget-tp6621553p662188 7.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
<<attachment: Mustafa Sak ([email protected]).vcf>>
------------------------------------------------------------------------------ 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
