Hi list,

I'm using a TileList component which is populated with thumbnail items. I've
wrote a custom itemRenderer for it that uses a HBox as the base. I want
there to be no gap between the thumbnails at all. Horizontally I can get rid
of any spacing by setting horizontal gap to 0 however this does not seem to
work with vertical gap. No matter what I'm trying I always get a vertical
gap of ~4 pixels.

The items that are put in the TileList are small thumbnails where the image
fills out the whole area of an item. I've tried other containers like Canvas
and Image for the itemRenderer too but without success.

Let's say my thumbnails are 32x32 pixels. I'm setting both h and v gap and
all padding of the HBox to 0, even set the rowHeight of the TileList to 32
but the vertical gap will appear and it seems the thumbnails are cropped.

Can somebody tell me how to get rid of the vertical spacing? Any other
simple container would be ok as the itemRenderer too.

Thanks for any help!
Sascha


Reply via email to