<?xml version="1.0" encoding="utf-8"?>
<tree:TreeItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009" 
    xmlns:s="library://ns.adobe.com/flex/spark" 
    xmlns:mx="library://ns.adobe.com/flex/mx" 
    xmlns:tree="*">
    
    <tree:layout>
        <s:HorizontalLayout paddingLeft="{indentation + 4}" verticalAlign="middle"
            paddingBottom="4" paddingTop="4"/>
    </tree:layout>
    
    <tree:DefaultDisclosureButton visible="{disclosureIconVisible}" 
        click="{toggle();}" currentState="{isOpen ? 'open' : 'closed'}"/>
    
    <s:BitmapImage source="{icon}" visible="{Boolean(icon)}"
        includeInLayout="{Boolean(icon)}"/>
    
    <s:Label id="labelDisplay" text="{label}" color="{textColor}"/>
    
</tree:TreeItemRenderer>