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