0 Replies Latest reply on Oct 9, 2010 6:49 AM by Pimenov Oleg

    FLex 4 skin MXTree ItemRender

    Pimenov Oleg Level 1



      I have using MXTree control. And want create list like in ICQ , but I want add Users photos and other information.

      How create MXTreeItemRenderer with different height ?


      <s:MXTreeItemRenderer ...>


      <s:HGroup left="0" right="0" verticalCenter="0">
              <s:Group id="disclosureGroup">
                  <s:BitmapImage source="{Global.disclosure}" visible="{treeListData.hasChildren}" />
                  <s:BitmapImage source="{Global.closeIcon}"
                                 height="20" x="18"
                                 visible="{treeListData.hasChildren}" />
                  <s:Label id="labelDisplay"  x="25" visible="{treeListData.hasChildren}"/>
                  <s:RichText  id="labelField" visible="{!treeListData.hasChildren}"/>
                  <s:Button x="40" visible="{!treeListData.hasChildren}" buttonMode="true"/>




      When I change 'y' position in Button - All height increase at 'y'...