Alex,

I tried this. I also tried putting the Image control inside of an HBox, and 
still no dice. I got closer, but still could not entirely get rid of the gap. 
There was always at least 1px on a side that was still coming through.

I have actually resorted to creating my own component, which is a sub-class of 
the Box container. It takes a dataProvider, a max count, and an itemRenderer 
and builds out the UI.

For some reason this approach is giving me the control I want over the details 
of the UI.

Best,

Adam

--- In [email protected], Alex Harui <aha...@...> wrote:
>
> Try: paddingLeft/Right/Top/Bottom = 0
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
> 
> From: [email protected] [mailto:[email protected]] On 
> Behalf Of adamduro
> Sent: Thursday, March 05, 2009 3:16 PM
> To: [email protected]
> Subject: [flexcoders] HorizontalList ItemRnderers Mysterious Horizontal Gap
> 
> 
> I'm trying to develop a UI piece that consists of a HorizontalList using an 
> Image control as an ItemRenderer.
> 
> Here is the code:
> 
> http://pastie.org/408846
> 
> For the life of me I cannot figure out how to get rid of a single pixel gap 
> that gets put around each Image control. I've debugged a bit, and found out 
> that even though the source image is 126px, and I've set the columnWidth to 
> 126px, Flex is shrinking the Image control to 124px.
> 
> I understand that if there was no gap, you would not be able to see the roll 
> over tile, but that's my point. I want a continuous strip of images.
> 
> Anyone got any idea what is going on here?
>


Reply via email to