Olaf, You got me! I haven't seen second part of the code! Example of Panel usage you can find in FlexJSStore [1]. There is a lot of additional code, but apart of that MXML shows how use it. :)
[1] https://github.com/apache/flex-asjs/blob/develop/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductCatalogPanel.mxml Thanks, Piotr 2017-09-11 13:40 GMT+02:00 Olaf Krueger <m...@olafkrueger.net>: > There's also a js:Panel [1]. > And this is a working snippet [2] > > HTH, > Olaf > > [1] > https://github.com/apache/flex-asjs/blob/develop/ > frameworks/projects/Basic/src/main/flex/org/apache/flex/html/Panel.as > > [2] > <?xml version="1.0" encoding="utf-8"?> > <js:Application xmlns:js="library://ns.apache.org/flexjs/basic"> > > <js:valuesImpl> > <js:SimpleCSSValuesImpl /> > </js:valuesImpl> > > <js:initialView> > <js:View> > <js:Panel x="100" y="137" width="428" height="282" > title="Login"> > <js:Label x="80" y="70" text="User Name"/> > <js:Label x="88" y="114" text="Password"/> > <js:TextInput x="171" y="64"/> > <js:TextInput x="171" y="107"/> > <js:TextButton x="165" y="162" text="Login"/> > <js:TextButton x="246" y="162" text="Cancel"/> > </js:Panel> > </js:View> > </js:initialView> > </js:Application> > > > > -- > Sent from: http://apache-flex-development.2333347.n4.nabble.com/ > -- Piotr Zarzycki mobile: +48 880 859 557 skype: zarzycki10 LinkedIn: http://www.linkedin.com/piotrzarzycki <https://pl.linkedin.com/in/piotr-zarzycki-92a53552>