Removing default icons from Flex Tree control
What’s so cool about Flex framework is the fact that it’s very extensible, which allows me to do almost anything I want with it.
For example, to remove folder/arrow icons from Flex Tree control, which prevents nodes from collapsing and also creates more space for labels, you can add the following in your stylesheet:
defaultLeafIcon: ClassReference(null); folderClosedIcon: ClassReference(null); folderOpenIcon: ClassReference(null); disclosureClosedIcon: ClassReference(null); disclosureOpenIcon: ClassReference(null);
For more information on Flex Tree CSS properties, refer to AS3.0 Reference.
Marko
Related posts
No comments yet.

Leave a comment