You could write a new TileLayoutWithGapAndPadding to handle that specific
situation. On the JS side, TileLayout uses Flexbox and perhaps you need
more control.

‹peter

On 6/22/17, 10:14 AM, "yishayw" <yishayj...@hotmail.com> wrote:

>Adding margins adds a gutter on the right side of the host. This is
>probably
>because each child's width is calculated according to the parent's width
>divided by the number of children, disregarding the margins. I'm using
>padding instead, but that has the drawback that in a tiled list, for
>example, there are no non-selectable gaps.
>
>I think the fix is to take margins into account, but there might be
>performance implications.
>
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.2333347.n4.nabble.com%2FFlexJS-TileLayout-tp62568p62570.html
>&data=02%7C01%7C%7C1256d4c11ee54c60a90e08d4b97b6725%7Cfa7b1b5a7b34438794ae
>d2c178decee1%7C0%7C0%7C636337387035370705&sdata=Lt0zEPpqPr2Hj7eng2EIwehxJ2
>sdhoTLinXT3qBZ6lE%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to