First, Flex tree Modify the default icon, and add dotted line to display the effect of the following figure:
It's really hard to see that big ugly little arrow + folder display way, from the internet down a dotted line of the source code, is to rewrite the tree itemrender, online a lot, not long-winded, the following is to remove
Copy Code code as follows:
Mx| Tree {
Folderopenicon:classreference (NULL);
Folderclosedicon:classreference (NULL);
}
As for what? Remove this style, Dog Day Flex has two default icons, if you find that you have a similar two "+", "-" when you understand that flex more grass eggs, the more fucked is to remove these two styles, itemrender error, fuck! , I after continuous practice has finally found that I have disabled the default Flex icon, this guy is and Folderopenicon, Folderclosedicon style is closely related to the grass, ah, mom's helpless under that I changed to disable
Copy Code code as follows:
Mx| tree{
Disclosureopenicon:classreference (NULL);
Disclosureclosedicon:classreference (NULL);
}
Fuck who knows this way unexpectedly "only can be far view not obscene play", * * child nodes do not come out, shift!, Shift, shift!, suddenly I think he put 1 disabled when the code Disclosureicon this icon can be used, the fucking so! You know that? Do not understand just step by step, first download a dotted line of the source code, the introduction of no problem, in the modified icon, if the error, then congratulations!