Yup, that's how it works. The only way to get what you want is to have a 
container without a background, then add all you children and a widget 
with a background and opacity to the parent container.

HTH, Matt

Jean-Noël Rivasseau wrote:
> Hi,
> 
> If I apply an opacity of 0.5 to a container widget containing children, 
> the children also have a 0.5 opacity. This is problematic, because for 
> example I may want a semi transparent background on a container, but a 
> full opacity for its children.
> 
> How would you solve this problem in Qooxdoo ? (I have not looked at the 
> low level DOM but I guess that a div with a given opacity passes this 
> opacity to all its children divs).
> 
> Jean-Noel
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Are you an open source citizen? Join us for the Open Source Bridge conference!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
> Need another reason to go? 24-hour hacker lounge. Register today!
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to