cristallium opened a new issue, #1193:
URL: https://github.com/apache/royale-asjs/issues/1193
Hi,
I found a bug in a special case with `TileHorizontalLayout`
Take this exemple :
```
<j:List localId="lst" className="ImageListItemRenderer" height="90%"
width="400" change="ev_change(event)" includeIn="loaded">
<j:beads><j:TileHorizontalLayout requestedColumnCount="2"
itemsExpand="false" horizontalGap="0" columnWidth="186" /></j:beads>
</j:List>
```
ItemRenderer :
```
<j:ListItemRenderer ... width="186" height="91">
...
<j:Image src="{image_src}" width="170" height="75"/>
...
</j:ListItemRenderer>
```
This is working fine if no scrollbar like this screenshoot

However if the scrollbar appears then it could have 2 items by row. But the
compute of `margin-right` wrong because it doesn't take into account the
scrollbar width. So margin-right is too high and list has only 1 item per row

In the following screenshoot, brown color matches the `margin-right` and is
too large

If I manually change margin-right substracting scrollbar width (with dev
tools in browser) , then this is fine :

--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]