Displaying tooltips for truncated items in a Flex List

Just a quick post – for anyone who might be suffering from the same issue that I did…

Question: In a standard Flex List – shrink the width of the List so that it is smaller than the width of the items inside it. How do you see the full text without adding a scrollbar?

Answer: In the MXML for the List – simply add the following line…


…and bingo, the items in question will be truncated – and a tooltip will automatically appear to display the full text (when you hover over the item).

list screenshot

This entry was posted in Code Monkey and tagged , , . Bookmark the permalink.

One Response to "Displaying tooltips for truncated items in a Flex List"

Leave a Reply

Your email address will not be published. Required fields are marked *