现在的位置: 首页 > 综合 > 正文

去掉Tree前面的箭头

2013年09月06日 ⁄ 综合 ⁄ 共 796字 ⁄ 字号 评论关闭

defaultLeafIcon="@Embed(source='../../../resource/images/tree/leaf.gif')"
disclosureOpenIcon="@Embed(source='../../../resource/images/tree/open.gif')"
disclosureClosedIcon="@Embed(source='../../../resource/images/tree/close.gif')" 
folderOpenIcon="{null}"       
folderClosedIcon="{null}"

 

disclosure n. 揭发, 败露

 

folderClosedIcon
 
Type: Class Format: EmbeddedFile CSS Inheritance: no
Specifies the folder closed icon for a branch item of the tree. In MXML, you can use the following syntax to set this property: folderClosedIcon="@Embed(source='b.jpg');" The default value is TreeFolderClosed in assets.swf.
 
disclosureClosedIcon
 
Type: Class Format: EmbeddedFile CSS Inheritance: no
Specifies the icon that is displayed next to a parent item that is closed so that its children are not displayed (the subtree is collapsed). The default value is TreeDisclosureClosed in assets.swf.

抱歉!评论已关闭.