Limit width of custom list itemrenderer in Flex -


I am using a custom itemendender to display a list of photos and learn about controlling the width is required. At the moment it does this:

Which, I am sure you will agree, it is bleeding in the eyes.

The list has been created such as:

   ; & Lt; / Mx: cell & gt;  

And the Object Extension component looks like this:

  & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Mx: VBox xmlns: mx = "http://www.adobe.com/2006/mxml" & gt; & Lt; Mx: image source = "{data.src}" id = "image" scale abstract = "correct" tooltip = "{data.caption}" height = "100%" horizontal align = "center" /> & Lt; / Mx: VBox & gt;  

I have tried to keep width = "100%" in a whole bunch of places, but without success If someone knows how I can control it, I would be very grateful.

If you set these properties inside

I do not know why they choose to turn "off" for false change


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -