Hi Sankar, as I just explained in other thread, you're trying to mix things (sets of components) that are not intended to work together. For that reason I was saying at the end that maybe we should remove HTML swc dependency to avoid that confusion.Same should happen with other sets like CreateJS, Bootstrap and so on
2017-01-31 8:04 GMT+01:00 sankar <santanu4...@gmail.com>: > The requirement was pretty basic. Place the contents/components > horizontally > or vertically and some alignment. I tried to use <js:Container in MDL > project but it didn't worked expectedly. > > Following is a very basic code I tried to use to place contents > horizontally, in MDL project: > <quote> > <js:Container percentWidth="100"> > <js:beads> > <js:HorizontalLayout/> > </js:beads> > <js:Label text="Hello World!"/> > <mdl:Spacer width="100"/> > <mdl:TextField width="100"/> > </js:Container> > > > The above usage always output contents laying vertically. Following is a > screenshot of above code result: > > <http://apache-flex-development.2333347.n4.nabble.com/file/n58822/ > tempWithSpacer.jpg> > > The TextField component takes some of it's own space above and below of the > input field. > > If I remove the space, then the output looks like this: > > <http://apache-flex-development.2333347.n4.nabble.com/file/n58822/ > tempWithoutSpacer.jpg> > > Here also the TextField taking it's own space above and below it. But the > Label seems grounded; and there is no vertical alignment option available. > style="vertical-align:middle" didn't helped either. > > Thanks! > > > > -- > View this message in context: http://apache-flex- > development.2333347.n4.nabble.com/FlexJS-MDL-requires-JS- > Container-type-of-component-tp58822.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. > -- 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.