flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Rovira <carlosrov...@apache.org>
Subject [FlexJS] (Att: Peter Ent) Get rid of extra divs layers we don't want (was Re: [FlexJS]Layout problems)
Date Fri, 02 Dec 2016 00:08:35 GMT
> Anyway, Peter might be able to better answer your question, but it appears
> that if you create some new subclass of UIBase and have it return 'this'
> for layoutHost and contentView, that the ListView might then just stick
> the children in the outer div.  See how MXMLItemRenderer (which I
> mentioned upthread) differs from ListBase in that way.  There might be
> some bugs to iron out, but that's my understanding of how it is supposed
> to work.
> -Alex

Peter as Alex says you could be of great help here, hope you could help
getting a simple example since I think is crucial for MDL List component
(and other comps that uses the same behaviour).

I'll try to investigate about layoutHost and contentView as Alex mention to
be able to remove the middle div layer that List View generates. My target
is to get a List that throws:


and <li/> elements data will be provided by a dataProvider Array and the
layout (the li or whatever we want) by an itemRenderer.

As I get this I'll update some MDL comps that will benefit from this
refactor a part from List (TabBar, NavigationBar,...)

Carlos Rovira

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message