estanglerbm opened a new pull request #992: URL: https://github.com/apache/royale-asjs/pull/992
- Implemented Spark SkinnableDataContainer, which is basically a combination of DataGroup, List, and SkinnableContainer. - Should use with DataGroup fix in #966 (not included in this pull request). - Reconfigured CSS of DataGroup to implement more proper behavior. For example, when DataGroup.itemRender = null, it can by default render VGroup and such. It can also take different layouts. The old CSS for DataGroup, which was List-oriented, has been copied to VirtualVDataGroup (and List adjusted). Adjusted NonVirtualHDataGroup (used by TabBar) and commented out NonVirtualVDataGroup (not used). - Added SelfItemRendererInitializer (+ SelfItemRenderer) to render UIComponent objects, such as VGroup and everything else. - Moved ``public var dataGroup:DataGroup;`` from SkinnableComponent to ListBase. - There are various existing layout bugs in components, and those are still reflected in DataGroup / SkinnableDataContainer, of course. - While DataGroup is laying out subcontainers very well, SkinnableDataContainer is not. For many uses, you can work around by using "DataGroup" instead of "SkinnableDataContainer" (the MXML, for example, stays the same, with the dataProvider and such). But of course it would be nice to get SkinnableDataContainer working properly. SkinnableContainer does not have the same issue (though it has other issues). Not sure if List has the issue. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
