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
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);
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