MBlocker is similar, it creates a new widget with a semi-transparent background then uses this to cover what is being blocked. This widget doesn't have any children, but if it did they would be semi transparent as well.
Jean-Noël Rivasseau wrote: > OK thanks for letting me know. > > However when I use the MBlocker things work "automatically". Do you use > the same technique then? > > Jean-Noel > > On Mon, Jun 22, 2009 at 8:15 PM, Matthew Gregory > <[email protected] <mailto:matthew%[email protected]>> wrote: > > 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] > <mailto:[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] > <mailto:[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 ------------------------------------------------------------------------------ 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
