Hi danovics,
first of all sorry for the late answer.
On Friday January 22 2010 15:30:34 danovics wrote:
> I have a mainContainer which is layouted as Canvas.
> I add a two "layers" to this:
> mainContainer.add(firstLayer, {left: 0, top: 0, height: "100%", width:
> "100%"});
> mainContainer.add(secondLayer, {left: 0, top: 0, height: "100%", width:
> "100%"});
> The first layer holds the "real" content of my app. The second layer is a
> fader layer which would be used for show for example a loader.gif if there
> is a long lasting ajax request in the app.
> So after initailizing: secondLayer.hide();
> But despite the fact that I try to secondLayer.show(); when I would need
> it, qooxdoo doesn't do this.
> Intresting is, that if I stop the code with an alert or with a breakpoint
> using Firebug and make some hover on the browser window the show() effect
> works.
> I tried to make this change using the qx's properties but it still didn't
> work.
>
> I hope it was clear enough without the quite difficult code fragments.
>
> I would be very glad if somebody could help me with this, becouse I stucked
> with this totally after more hours of experimentation.
You can easily solve this by using a blocker widget to block the first widget
and to show a transparent layer.
Just take a look at
http://demo.qooxdoo.org/current/apiviewer/#qx.ui.core.Blocker
This widget takes a constructor parameter another widget. The one it should
block. With the "color" and "opacity" properties you are able to style the
blocker widget to create a transparent layer.
cheers,
Alex
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel