For that to work, the bead will need to append the class name of the component. It cannot be applied to the bead itself.
Harbs > On Feb 23, 2017, at 12:05 AM, Carlos Rovira <carlos.rov...@codeoscopic.com> > wrote: > > Hi Peter, > > one of the things I'd want to do is remove "styles" in source code and move > to css. > For example: > > viewBead.contentView.element.style["display"] = "flex"; > > What do you think about to move this to default.css class, i.e.: > > HorizontalFlexLayout { > display: flex; > ... > } > > I think we should move all that kind of code to css so we could tweak > (change/modifiy) easily if we need > > thanks > > > 2017-02-22 23:00 GMT+01:00 Harbs <harbs.li...@gmail.com>: > >> I totally agree with this. >> >> There should be a simple Container (with H and V variants) and a separate >> ChromeContainer. The vast majority of Containers do not need the extra div. >> >> Moving Panel to Express is an option, but I’m not sure it’s necessary. >> >>> On Feb 22, 2017, at 11:40 PM, Peter Ent <p...@adobe.com> wrote: >>> >>> I think the Container needs to be redone. I also think it does too much >> or >>> we need a lighter weight component like Group. Container generates two >>> <div>s for the HTML side. This is to allow for "chrome" such as headers >>> and footers. More specifically, it was designed to make it possible to >>> write Panel (maybe Panel should be a composite component and moved into >>> Express). >> >> >> >> > > > -- > > Carlos Rovira > Director General > M: +34 607 22 60 05 > http://www.codeoscopic.com > http://www.avant2.es > > Este mensaje se dirige exclusivamente a su destinatario y puede contener > información privilegiada o confidencial. Si ha recibido este mensaje por > error, le rogamos que nos lo comunique inmediatamente por esta misma vía y > proceda a su destrucción. > > De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos > que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC > S.A. La finalidad de dicho tratamiento es facilitar la prestación del > servicio o información solicitados, teniendo usted derecho de acceso, > rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras > oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación > necesaria.