RE: [flexcoders] Re: Extra pixels on right side of TileList.

2008-06-13 Thread Alex Harui
By debugging a simple test case. Can you make one and post it? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Friday, June 13, 2008 1:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Extra pixels on right side o

Re: [flexcoders] Re: Extra pixels on right side of TileList.

2008-06-13 Thread Troy Gilbert
> I couldn't find a horizontalGap property on TileList, and trying to > manually add a tag when the code hinting said no just resulted in a > compiler error. Sorry, strike all my FUD about TileList... I was think of Tile (which I was using inside of a scrollable container to get a smooth, fraction

Re: [flexcoders] Re: Extra pixels on right side of TileList.

2008-06-13 Thread Troy Gilbert
I'm not sure if it applies in this case, but TileList definitely has some bugs in its measuring and layout code (or at least did in Flex 2 -- not sure if they fixed it). In particular, when calculating its preferred width it basically does (itemRenderer.width + horizontalGap) * numColumns. That's o

RE: [flexcoders] Re: Extra pixels on right side of TileList.

2008-06-12 Thread Alex Harui
MXML is not HTML. I don't remember seeing a specification of columnCount or width of the TileList in pixels. You could be seeing round-off error or simply that the computed width of the tile doesn't fully cover the TL. From: flexcoders@yahoogroups.com [mailto