Re: [qooxdoo-devel] Timer hacks

2008-01-29 Thread Alex Back
Hi Alexei, thanks for the explanation and the screenshots you provided. To dig deeper into this problem and to figure out an alternative solution it would be the best if you send me over a bigger code fragment of your work (or even the whole stuff I've seen at the screenshots). cheers,   Alex

Re: [qooxdoo-devel] Timer hacks

2008-01-28 Thread Alex Back
Hi Alexei, Alexei Golovko wrote: > // #1 > var pane = this.getViewPane(); // return HorizontalBoxLayout > pane.addEventListener('appear', function(e) { > qx.client.Timer.once(function(e) { > this.getChildren()[0].setHeight(this.getPreferredBoxHeight()); > }, this, 500);

[qooxdoo-devel] Timer hacks

2008-01-28 Thread Alexei Golovko
Hello, I wonder if I could get rid of 'Timer hacks' in my code. For example, consider please 2 following pieces of code: // #1 var pane = this.getViewPane(); // return HorizontalBoxLayout pane.addEventListener('appear', function(e) { qx.client.Timer.once(function(e) { th