In this case it is a Jewel List:

    <j:List localId="lstThumbnails" dataProvider="{dtList}"
        percentWidth="100" percentHeight="100" minHeight="35" style="flex-wrap: 
wrap;"
        itemRenderer="itemRenderers.ThumbnailItemRenderer">
        <j:beads>
            <j:ListPresentationModel variableRowHeight="false"/>
            <j:HorizontalLayout gap="0" />
        </j:beads>
    </j:List>

The itemrenderer ThumbnailItemRenderer.mxml

<j:ListItemRenderer
    xmlns:fx="http://ns.adobe.com/mxml/2009";
    xmlns:j="library://ns.apache.org/royale/jewel"
    xmlns:js="library://ns.apache.org/royale/basic"
    xmlns:html="library://ns.apache.org/royale/html"
    style="padding: 0px;">

    <j:beads>
        <js:ItemRendererDataBinding />
        <j:VerticalLayout itemsVerticalAlign="itemsCenter" 
itemsHorizontalAlign="itemsLeft" />
    </j:beads>

    <j:Card id="cardThumbnail" width="300" >
        ...
    </j:Card>
</j:ListItemRenderer>

Hiedra
-----Mensaje original-----
De: Bilbosax <[email protected]> 
Enviado el: martes, 2 de marzo de 2021 14:48
Para: [email protected]
Asunto: RE: Horizontal Layout - Actionscript

Yes, essentially.  If that is a List component with a tile layout, then that is 
what I need.  If it is a just a container with objects in it, then that won't 
work.



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

Reply via email to